/* BAUNILAWGROUP — professional public firm website */

:root {
  --fw-ink: #0b1d36;
  --fw-ink-soft: #1a3050;
  --fw-muted: #5c6b7a;
  --fw-line: #d8dee6;
  --fw-paper: #f5f7fa;
  --fw-white: #ffffff;
  --fw-accent: #1f5f6b;
  --fw-accent-soft: #e7f1f3;
  --fw-gold: #9a7b3c;
  --fw-serif: "DM Serif Display", Georgia, serif;
  --fw-sans: "DM Sans", "Segoe UI", sans-serif;
  --fw-max: 72rem;
  --fw-pad: clamp(1.25rem, 4vw, 2.75rem);
  --fw-pad-inline: max(var(--fw-pad), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --fw-radius: 0.75rem;
  --fw-radius-pill: 999px;
  --fw-shadow: 0 10px 30px rgba(11, 29, 54, 0.08);
  --fw-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.site-page--firm {
  margin: 0;
  background: var(--fw-paper);
  color: var(--fw-ink);
  font-family: var(--fw-sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.site-page--firm *,
.site-page--firm *::before,
.site-page--firm *::after {
  box-sizing: border-box;
}

.site-page--firm img,
.site-page--firm video,
.site-page--firm svg {
  max-width: 100%;
  height: auto;
}

.site-page--firm.is-nav-locked {
  overflow: hidden;
}

.fw-site {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.fw-wrap {
  width: min(100% - 2 * var(--fw-pad-inline), var(--fw-max));
  margin-inline: auto;
}

/* ——— Header ——— */
.fw-header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: box-shadow 0.25s var(--fw-ease), background 0.25s var(--fw-ease);
}

.fw-header.is-scrolled .fw-header__main {
  background: color-mix(in srgb, var(--fw-white) 82%, transparent);
  backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: var(--fw-shadow);
}

.fw-header__top {
  background: linear-gradient(90deg, #071526, #0b1d36 55%, #123247);
  color: color-mix(in srgb, #f4f7fb 78%, transparent);
  font-size: 0.78rem;
}

.fw-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.25rem;
}

.fw-header__locale {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 550;
  letter-spacing: 0.02em;
}

.fw-header__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #3ecf8e;
  box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.55);
  animation: fwPulse 2s ease-out infinite;
}

@keyframes fwPulse {
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.fw-header__top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.fw-header__top-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: color-mix(in srgb, #f4f7fb 88%, transparent);
  text-decoration: none;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: var(--fw-radius-pill);
  transition: background 0.2s ease, color 0.2s ease;
}

.fw-header__top-links a:hover {
  color: #fff;
  background: color-mix(in srgb, #fff 10%, transparent);
}

.fw-header__main {
  background: color-mix(in srgb, var(--fw-white) 94%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--fw-line) 80%, transparent);
  transition: background 0.25s var(--fw-ease), box-shadow 0.25s var(--fw-ease), min-height 0.25s var(--fw-ease);
}

.fw-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.65rem;
  transition: min-height 0.25s var(--fw-ease);
}

.fw-header.is-scrolled .fw-header__inner {
  min-height: 3.85rem;
}

.fw-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--fw-ink);
  flex: 0 1 auto;
  min-width: 0;
}

.fw-brand__mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.85rem;
  background:
    linear-gradient(145deg, #0b1d36 0%, #1a3050 55%, #1f5f6b 120%);
  color: #f4f7fb;
  font-family: var(--fw-serif);
  font-size: 1.35rem;
  line-height: 1;
  box-shadow:
    inset 0 -3px 0 var(--fw-gold),
    0 8px 20px rgba(11, 29, 54, 0.18);
  transition: transform 0.25s var(--fw-ease);
}

.fw-brand:hover .fw-brand__mark {
  transform: translateY(-1px) rotate(-3deg);
}

.fw-brand__text {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.fw-brand__name {
  font-family: var(--fw-serif);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.fw-brand__sub {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fw-muted);
}

.fw-nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--fw-line);
  border-radius: 0.85rem;
  background: var(--fw-paper);
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.fw-nav-toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--fw-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.fw-header.is-open .fw-nav-toggle span:first-child {
  transform: translateY(5px) rotate(45deg);
}

.fw-header.is-open .fw-nav-toggle span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.fw-header__menus {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.fw-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem;
  padding: 0.28rem;
  border-radius: var(--fw-radius-pill);
  background: color-mix(in srgb, var(--fw-paper) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--fw-line) 85%, transparent);
}

.fw-nav a {
  position: relative;
  text-decoration: none;
  color: var(--fw-muted);
  font-size: 0.88rem;
  font-weight: 650;
  padding: 0.5rem 0.8rem;
  border-radius: var(--fw-radius-pill);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.fw-nav a:hover {
  color: var(--fw-ink);
  background: var(--fw-white);
}

.fw-nav a[aria-current="page"] {
  color: var(--fw-ink);
  background: var(--fw-white);
  box-shadow: 0 4px 14px rgba(11, 29, 54, 0.08);
}

.fw-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.fw-header__quiet {
  text-decoration: none;
  color: var(--fw-muted);
  font-size: 0.88rem;
  font-weight: 650;
  padding: 0.5rem 0.7rem;
  border-radius: var(--fw-radius-pill);
  transition: color 0.2s ease, background 0.2s ease;
}

.fw-header__quiet:hover {
  color: var(--fw-ink);
  background: var(--fw-paper);
}

.fw-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--fw-white);
  background: linear-gradient(135deg, var(--fw-ink), #16324a);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.62rem 1.05rem;
  border-radius: var(--fw-radius-pill);
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(11, 29, 54, 0.18);
  transition: transform 0.2s var(--fw-ease), box-shadow 0.2s ease, filter 0.2s ease;
}

.fw-header__cta:hover {
  color: var(--fw-white);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(11, 29, 54, 0.22);
  filter: brightness(1.05);
}

@media (max-width: 1100px) {
  .fw-nav-toggle {
    display: inline-block;
  }

  .fw-header__top-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 0.5rem;
    gap: 0.3rem;
  }

  .fw-header__top-links {
    width: 100%;
  }

  .fw-header__top-links a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .fw-header__main {
    position: relative;
  }

  .fw-header__inner {
    flex-wrap: wrap;
    min-height: 3.85rem;
  }

  .fw-brand {
    flex: 1 1 auto;
    max-width: calc(100% - 3.5rem);
  }

  .fw-header__menus {
    display: none;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    width: 100%;
    max-height: min(70vh, 28rem);
    max-height: min(70dvh, 28rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.35rem 0 1.1rem;
    -webkit-overflow-scrolling: touch;
  }

  .fw-header.is-open .fw-header__menus {
    display: flex;
  }

  .fw-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.4rem;
    border-radius: 1rem;
  }

  .fw-nav a {
    padding: 0.85rem 0.95rem;
    min-height: 2.75rem;
  }

  .fw-header__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .fw-header__quiet {
    text-align: center;
    padding: 0.75rem 0.9rem;
  }

  .fw-header__cta {
    width: 100%;
    min-height: 2.85rem;
  }
}

@media (max-width: 520px) {
  .fw-brand__sub {
    display: none;
  }

  .fw-header__top {
    display: none;
  }

  .fw-header__locale {
    font-size: 0.72rem;
  }

  .fw-header__top-links a {
    font-size: 0.78rem;
    padding: 0.25rem 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fw-header__dot {
    animation: none;
  }
}

/* ——— Buttons ——— */
.fw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.78rem 1.25rem;
  border-radius: var(--fw-radius-pill);
  border: 1px solid transparent;
  transition: transform 0.2s var(--fw-ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.fw-btn--primary {
  background: linear-gradient(135deg, var(--fw-ink), #16324a);
  color: var(--fw-white);
  box-shadow: 0 10px 24px rgba(11, 29, 54, 0.16);
}

.fw-btn--primary:hover {
  color: var(--fw-white);
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.fw-btn--on-dark {
  background: #f4f7fb;
  color: var(--fw-ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.fw-btn--on-dark:hover {
  color: var(--fw-ink);
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.fw-btn--ghost {
  background: color-mix(in srgb, #fff 6%, transparent);
  color: var(--fw-white);
  border-color: color-mix(in srgb, #fff 28%, transparent);
  backdrop-filter: blur(8px);
}

.fw-btn--ghost:hover {
  background: color-mix(in srgb, #fff 12%, transparent);
  color: #fff;
  transform: translateY(-1px);
}

.fw-btn--outline {
  background: var(--fw-white);
  color: var(--fw-ink);
  border-color: var(--fw-line);
}

.fw-btn--outline:hover {
  border-color: color-mix(in srgb, var(--fw-ink) 35%, var(--fw-line));
  box-shadow: var(--fw-shadow);
  transform: translateY(-1px);
}

.fw-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.fw-btn-row > .fw-btn {
  flex: 1 1 auto;
  min-width: min(100%, 11rem);
}

/* ——— Reveal ——— */
.fw-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--fw-ease), transform 0.55s var(--fw-ease);
}

.fw-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ——— Hero ——— */
.fw-hero {
  position: relative;
  background: linear-gradient(145deg, #071526 0%, #0b1d36 48%, #14324a 100%);
  color: #f4f7fb;
  padding: clamp(3.5rem, 10vh, 6.25rem) 0 clamp(3.25rem, 8vh, 5rem);
  overflow: hidden;
}

.fw-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 65% at 88% 18%, rgba(31, 95, 107, 0.4), transparent 58%),
    radial-gradient(ellipse 40% 45% at 8% 85%, rgba(154, 123, 60, 0.14), transparent 55%),
    linear-gradient(90deg, transparent 62%, rgba(154, 123, 60, 0.07));
}

.fw-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(color-mix(in srgb, #fff 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, #fff 6%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 75%, transparent);
}

.fw-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
}

@media (min-width: 920px) {
  .fw-hero__grid {
    grid-template-columns: 1.25fr 0.85fr;
  }
}

.fw-hero__inner {
  position: relative;
  max-width: 40rem;
}

.fw-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--fw-radius-pill);
  border: 1px solid color-mix(in srgb, #fff 16%, transparent);
  background: color-mix(in srgb, #fff 8%, transparent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, #f4f7fb 78%, transparent);
}

.fw-hero__eyebrow-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #3ecf8e;
  box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.5);
  animation: fwPulse 2s ease-out infinite;
}

.fw-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--fw-serif);
  font-size: clamp(2.05rem, 8vw, 3.9rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.fw-hero__lede {
  margin: 0 0 1.75rem;
  color: color-mix(in srgb, #f4f7fb 78%, transparent);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 34rem;
}

.fw-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0.55rem 0.9rem;
  border-radius: var(--fw-radius-pill);
  border: 1px solid color-mix(in srgb, #fff 12%, transparent);
  background: color-mix(in srgb, #fff 6%, transparent);
  font-size: 0.88rem;
  color: color-mix(in srgb, #f4f7fb 72%, transparent);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.fw-hero__panel {
  position: relative;
  padding: 1.4rem 1.35rem;
  border-radius: 1.35rem;
  border: 1px solid color-mix(in srgb, #fff 14%, transparent);
  background: color-mix(in srgb, #fff 8%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.fw-hero__panel-title {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fw-gold);
}

.fw-hero__panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.fw-hero__panel-list li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid color-mix(in srgb, #fff 10%, transparent);
}

.fw-hero__panel-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fw-hero__panel-list span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, #f4f7fb 48%, transparent);
}

.fw-hero__panel-list strong,
.fw-hero__panel-list a {
  color: #f4f7fb;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.98rem;
  word-break: break-word;
}

.fw-hero__panel-list a:hover {
  color: var(--fw-gold);
}

/* ——— Page header (inner) ——— */
.fw-pagehead {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(31, 95, 107, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(154, 123, 60, 0.08), transparent 50%),
    linear-gradient(180deg, #fff 0%, #f3f6f9 100%);
  border-bottom: 1px solid var(--fw-line);
  padding: clamp(2.75rem, 7vh, 4rem) 0;
}

.fw-pagehead::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fw-accent), var(--fw-gold), transparent);
}

.fw-pagehead .fw-wrap {
  position: relative;
  max-width: 44rem;
}

.fw-pagehead__eyebrow {
  display: inline-flex;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--fw-radius-pill);
  background: var(--fw-accent-soft);
  border: 1px solid color-mix(in srgb, var(--fw-accent) 18%, transparent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fw-accent);
}

.fw-pagehead h1 {
  margin: 0 0 0.75rem;
  font-family: var(--fw-serif);
  font-size: clamp(2.1rem, 4.8vw, 3.15rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.fw-pagehead__lede {
  margin: 0;
  max-width: 36rem;
  color: var(--fw-muted);
  font-size: 1.06rem;
  line-height: 1.6;
}

.fw-pagehead a {
  color: var(--fw-accent);
  text-decoration: none;
  font-weight: 600;
}

.fw-pagehead a:hover {
  text-decoration: underline;
}

/* ——— Sections ——— */
.fw-section {
  padding: clamp(3rem, 8vh, 5rem) 0;
}

.fw-section--white {
  background: var(--fw-white);
}

.fw-section--tint {
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(31, 95, 107, 0.08), transparent 55%),
    var(--fw-accent-soft);
}

.fw-section--soft {
  background:
    radial-gradient(ellipse 45% 55% at 100% 0%, rgba(31, 95, 107, 0.06), transparent 50%),
    linear-gradient(180deg, #f3f6f9, #eef2f6);
}

.fw-section__head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.fw-section__eyebrow {
  display: inline-flex;
  margin: 0 0 0.5rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--fw-radius-pill);
  background: var(--fw-accent-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fw-accent);
}

.fw-section__head h2 {
  margin: 0 0 0.55rem;
  font-family: var(--fw-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.fw-section__lede {
  margin: 0;
  color: var(--fw-muted);
  line-height: 1.6;
}

.fw-section__row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.fw-section__row .fw-section__head {
  margin-bottom: 0;
}

.fw-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--fw-accent);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.45rem 0.85rem;
  border-radius: var(--fw-radius-pill);
  background: var(--fw-accent-soft);
  transition: transform 0.2s var(--fw-ease), background 0.2s ease;
}

.fw-link:hover {
  transform: translateX(2px);
  background: color-mix(in srgb, var(--fw-accent-soft) 70%, #fff);
  text-decoration: none;
}

.fw-split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

@media (min-width: 880px) {
  .fw-split {
    grid-template-columns: 1fr 1.1fr;
  }
}

.fw-split__copy h2 {
  margin: 0 0 0.65rem;
  font-family: var(--fw-serif);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 400;
}

.fw-split__copy p {
  margin: 0 0 1.25rem;
  color: var(--fw-muted);
  line-height: 1.65;
  max-width: 34rem;
}

/* ——— Practice grid ——— */
.fw-practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
  gap: 1.1rem;
}

.fw-practice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.45rem 1.4rem 1.5rem;
  background: var(--fw-white);
  border: 1px solid color-mix(in srgb, var(--fw-line) 90%, transparent);
  border-radius: 1.15rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(11, 29, 54, 0.03);
  transition: transform 0.25s var(--fw-ease), border-color 0.25s ease, box-shadow 0.25s ease;
  min-height: 12rem;
  overflow: hidden;
}

.fw-practice-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--fw-accent), color-mix(in srgb, var(--fw-gold) 70%, var(--fw-accent)));
}

.fw-practice-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--fw-accent) 35%, var(--fw-line));
  box-shadow: 0 18px 40px rgba(11, 29, 54, 0.1);
}

.fw-practice-card__num {
  display: inline-flex;
  width: fit-content;
  padding: 0.2rem 0.55rem;
  border-radius: var(--fw-radius-pill);
  background: var(--fw-accent-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--fw-accent);
}

.fw-practice-card h3 {
  margin: 0;
  font-family: var(--fw-serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.fw-practice-card p {
  margin: 0;
  color: var(--fw-muted);
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
}

.fw-practice-card__more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fw-ink);
}

/* ——— About / content blocks ——— */
.fw-prose {
  max-width: 42rem;
}

.fw-prose p {
  margin: 0 0 1rem;
  color: color-mix(in srgb, var(--fw-ink) 90%, transparent);
  line-height: 1.7;
}

.fw-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
}

.fw-fact {
  position: relative;
  padding: 1.25rem 1.3rem;
  background: var(--fw-white);
  border: 1px solid var(--fw-line);
  border-radius: 1.1rem;
  box-shadow: 0 8px 24px rgba(11, 29, 54, 0.04);
  transition: transform 0.2s var(--fw-ease), box-shadow 0.2s ease;
}

.fw-fact:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 29, 54, 0.07);
}

.fw-fact__label {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fw-accent);
}

.fw-fact p {
  margin: 0;
  line-height: 1.55;
}

.fw-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.95rem;
  margin-top: 1.5rem;
}

.fw-value {
  padding: 1.2rem 1.25rem;
  background: linear-gradient(180deg, #fff, #f7fafb);
  border: 1px solid var(--fw-line);
  border-radius: 1.1rem;
  transition: transform 0.2s var(--fw-ease), box-shadow 0.2s ease;
}

.fw-value:hover {
  transform: translateY(-2px);
  box-shadow: var(--fw-shadow);
}

.fw-value strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.fw-value span {
  color: var(--fw-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.fw-subhead {
  font-family: var(--fw-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  margin: 2.25rem 0 1rem;
  letter-spacing: -0.01em;
}

.fw-actions {
  margin-top: 2rem;
}

/* ——— Gallery ——— */
.fw-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.1rem;
}

.fw-gallery-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--fw-white);
  border: 1px solid var(--fw-line);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(11, 29, 54, 0.04);
  transition: transform 0.25s var(--fw-ease), box-shadow 0.25s ease;
}

.fw-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 29, 54, 0.1);
}

.fw-gallery-card__media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--fw-ink), var(--fw-accent));
  display: grid;
  place-items: center;
  color: color-mix(in srgb, #fff 55%, transparent);
  font-family: var(--fw-serif);
  font-size: 2rem;
  overflow: hidden;
}

.fw-gallery-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--fw-ease);
}

.fw-gallery-card:hover .fw-gallery-card__media img {
  transform: scale(1.05);
}

.fw-gallery-card__body {
  padding: 1.05rem 1.15rem 1.2rem;
}

.fw-gallery-card__body strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.02rem;
}

.fw-gallery-card__body span {
  color: var(--fw-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* ——— Blog / insights ——— */
.fw-posts {
  display: grid;
  gap: 1rem;
}

.fw-post {
  display: grid;
  gap: 0.4rem;
  padding: 1.35rem 1.4rem;
  background: var(--fw-white);
  border: 1px solid var(--fw-line);
  border-radius: 1.15rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(11, 29, 54, 0.03);
  transition: transform 0.25s var(--fw-ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.fw-post:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--fw-accent) 40%, var(--fw-line));
  box-shadow: 0 16px 36px rgba(11, 29, 54, 0.08);
}

.fw-post__meta {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--fw-accent);
}

.fw-post h3,
.fw-post h2 {
  margin: 0;
  font-family: var(--fw-serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.fw-post p {
  margin: 0;
  color: var(--fw-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ——— FAQs ——— */
.fw-faqs {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}

.fw-faq {
  background: var(--fw-white);
  border: 1px solid var(--fw-line);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.fw-faq[open] {
  border-color: color-mix(in srgb, var(--fw-accent) 30%, var(--fw-line));
  box-shadow: 0 12px 28px rgba(11, 29, 54, 0.06);
}

.fw-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.25rem;
  font-weight: 650;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
}

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

.fw-faq summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--fw-accent-soft);
  color: var(--fw-accent);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
}

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

.fw-faq p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: var(--fw-muted);
  line-height: 1.65;
}

/* ——— Contact ——— */
.fw-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.1rem;
}

.fw-contact-item {
  padding: 1.35rem 1.35rem;
  background: linear-gradient(180deg, #fff, #f7fafb);
  border: 1px solid var(--fw-line);
  border-radius: 1.15rem;
  box-shadow: 0 8px 22px rgba(11, 29, 54, 0.04);
  transition: transform 0.2s var(--fw-ease), box-shadow 0.2s ease;
}

.fw-contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 29, 54, 0.08);
}

.fw-contact-item__label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fw-accent);
}

.fw-contact-item a,
.fw-contact-item p {
  margin: 0;
  color: var(--fw-ink);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.5;
  word-break: break-word;
}

.fw-contact-item a:hover {
  color: var(--fw-accent);
}

.fw-contact-item--wide {
  grid-column: 1 / -1;
}

.fw-contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
}

.fw-contact-social a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fw-accent);
}

/* ——— Detail layout ——— */
.fw-detail {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 880px) {
  .fw-detail {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }
}

.fw-detail__media {
  background: var(--fw-white);
  border: 1px solid var(--fw-line);
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 16rem;
  box-shadow: 0 14px 36px rgba(11, 29, 54, 0.07);
}

.fw-detail__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

.fw-detail__ph {
  min-height: 16rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--fw-ink), var(--fw-accent));
  color: color-mix(in srgb, #fff 50%, transparent);
  font-family: var(--fw-serif);
  font-size: 3rem;
}

/* ——— CTA band ——— */
.fw-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 80% at 90% 20%, rgba(31, 95, 107, 0.35), transparent 55%),
    linear-gradient(145deg, #071526, #0b1d36 55%, #123247);
  color: #f4f7fb;
  padding: clamp(2.75rem, 6vh, 4rem) 0;
}

.fw-cta .fw-wrap {
  position: relative;
}

.fw-cta h2 {
  margin: 0 0 0.55rem;
  font-family: var(--fw-serif);
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.fw-cta p {
  margin: 0 0 1.4rem;
  color: color-mix(in srgb, #f4f7fb 72%, transparent);
  max-width: 34rem;
  line-height: 1.6;
}

/* ——— Footer ——— */
.fw-footer {
  position: relative;
  margin-top: auto;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(31, 95, 107, 0.28), transparent 55%),
    radial-gradient(ellipse 45% 40% at 90% 20%, rgba(154, 123, 60, 0.16), transparent 50%),
    linear-gradient(160deg, #071526 0%, #0b1d36 48%, #10263d 100%);
  color: color-mix(in srgb, #f4f7fb 78%, transparent);
  padding: clamp(2rem, 5vh, 2.75rem) 0 0;
}

.fw-footer__glow {
  position: absolute;
  inset: auto -10% -30% 40%;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 95, 107, 0.22), transparent 70%);
  pointer-events: none;
}

.fw-footer__cta-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: clamp(1.75rem, 4vh, 2.5rem);
  padding: clamp(1.1rem, 3vw, 1.35rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: 1.25rem;
  border: 1px solid color-mix(in srgb, #fff 14%, transparent);
  background: color-mix(in srgb, #fff 8%, transparent);
  backdrop-filter: blur(12px);
}

.fw-footer__cta-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fw-gold);
}

.fw-footer__cta-title {
  margin: 0;
  font-family: var(--fw-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 400;
  color: #f4f7fb;
  letter-spacing: -0.01em;
}

.fw-footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.fw-footer__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--fw-radius-pill);
  background: #f4f7fb;
  color: var(--fw-ink);
  transition: transform 0.2s var(--fw-ease), filter 0.2s ease;
}

.fw-footer__cta-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.fw-footer__cta-btn--ghost {
  background: transparent;
  color: #f4f7fb;
  border: 1px solid color-mix(in srgb, #fff 28%, transparent);
}

.fw-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: clamp(2rem, 4vh, 2.75rem);
}

.fw-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #f4f7fb;
  margin-bottom: 0.85rem;
}

.fw-footer__mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(31, 95, 107, 0.35));
  box-shadow: inset 0 -3px 0 var(--fw-gold);
  font-family: var(--fw-serif);
  font-size: 1.25rem;
  color: #f4f7fb;
  line-height: 1;
}

.fw-footer__logo > span:last-child {
  display: grid;
  gap: 0.1rem;
}

.fw-footer__name {
  font-family: var(--fw-serif);
  font-size: 1.25rem;
  color: #f4f7fb;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.fw-footer__sub {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, #f4f7fb 55%, transparent);
}

.fw-footer__tag,
.fw-footer__address {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: min(22rem, 100%);
  color: color-mix(in srgb, #f4f7fb 68%, transparent);
  overflow-wrap: anywhere;
}

.fw-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin: 0 0 0.85rem;
}

.fw-footer__social a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fw-gold);
  text-decoration: none;
}

.fw-footer__social a:hover {
  color: #fff;
}

.fw-footer__heading {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fw-gold);
}

.fw-footer__nav {
  display: grid;
  gap: 0.45rem;
}

.fw-footer__nav a {
  display: inline-flex;
  width: fit-content;
  color: color-mix(in srgb, #f4f7fb 78%, transparent);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 550;
  padding: 0.2rem 0;
  transition: color 0.2s ease, transform 0.2s var(--fw-ease);
}

.fw-footer__nav a:hover {
  color: #fff;
  transform: translateX(3px);
}

.fw-footer__col--card {
  padding: 1.1rem 1.15rem;
  border-radius: 1.1rem;
  border: 1px solid color-mix(in srgb, #fff 12%, transparent);
  background: color-mix(in srgb, #fff 6%, transparent);
  backdrop-filter: blur(10px);
}

.fw-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.fw-footer__contact li {
  display: grid;
  gap: 0.15rem;
}

.fw-footer__contact span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, #f4f7fb 45%, transparent);
}

.fw-footer__contact a {
  color: #f4f7fb;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  word-break: break-word;
}

.fw-footer__contact a:hover {
  color: var(--fw-gold);
}

.fw-footer__bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
  padding: 1.15rem 0 1.4rem;
  border-top: 1px solid color-mix(in srgb, #fff 12%, transparent);
}

.fw-footer__copy,
.fw-footer__note {
  margin: 0;
  font-size: 0.84rem;
  color: color-mix(in srgb, #f4f7fb 55%, transparent);
}

@media (max-width: 900px) {
  .fw-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .fw-footer__brand,
  .fw-footer__cta-strip {
    grid-column: 1 / -1;
  }

  .fw-section__row {
    align-items: flex-start;
  }

  .fw-section__row .fw-link {
    margin-top: 0.15rem;
  }

  .fw-footer__cta-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .fw-footer__cta-actions {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .fw-footer__grid {
    grid-template-columns: 1fr;
  }

  .fw-footer__bar {
    flex-direction: column;
  }

  .fw-footer__cta-actions {
    width: 100%;
  }

  .fw-footer__cta-btn {
    flex: 1 1 auto;
    min-width: min(100%, 8rem);
    min-height: 2.75rem;
  }

  .fw-btn-row {
    flex-direction: column;
  }

  .fw-btn-row > .fw-btn {
    width: 100%;
    min-width: 0;
  }

  .fw-hero {
    padding: clamp(2.5rem, 8vh, 4rem) 0 clamp(2.5rem, 6vh, 3.5rem);
  }

  .fw-hero__panel {
    padding: 1.15rem 1.1rem;
  }

  .fw-pagehead h1 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .fw-section {
    padding: clamp(2.25rem, 6vh, 3.5rem) 0;
  }

  .fw-practice-card,
  .fw-contact-item,
  .fw-post,
  .fw-fact,
  .fw-value {
    padding-inline: 1.15rem;
  }

  .fw-faq summary,
  .fw-faq p {
    padding-inline: 1.05rem;
  }

  .site-page--firm {
    font-size: 0.9rem;
  }

  .fw-brand__name {
    font-size: 1rem;
  }

  .fw-nav a {
    font-size: 0.9rem;
    padding: 0.7rem 0.85rem;
  }

  .fw-pagehead h1,
  .fw-hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .fw-section__head h2,
  .fw-cta h2,
  .fw-footer__cta-title {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  .fw-pagehead__lede,
  .fw-hero__lede,
  .fw-section__lede {
    font-size: 0.92rem;
  }

  .fw-footer {
    font-size: 0.88rem;
  }
}

/* ——— Article (blog detail) ——— */
.fw-article {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(31, 95, 107, 0.06), transparent 60%),
    var(--fw-white);
}

.fw-article__wrap {
  width: min(100% - 2 * var(--fw-pad-inline), 46rem);
  margin-inline: auto;
  padding: clamp(2.25rem, 5vh, 3.25rem) 0 4rem;
}

.fw-article__meta {
  margin: 0 0 1rem;
  color: var(--fw-muted);
  font-size: 0.9rem;
}

.fw-article__meta a {
  color: var(--fw-accent);
  text-decoration: none;
  font-weight: 600;
}

.fw-article h1 {
  margin: 0 0 1rem;
  font-family: var(--fw-serif);
  font-size: clamp(2.1rem, 4.5vw, 2.9rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.fw-article__standfirst {
  margin: 0 0 1.5rem;
  color: var(--fw-muted);
  font-size: 1.12rem;
  line-height: 1.6;
}

.fw-article__cover {
  margin: 0 0 1.85rem;
  border: 1px solid var(--fw-line);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11, 29, 54, 0.08);
}

.fw-article__cover img {
  display: block;
  width: 100%;
  max-height: 24rem;
  object-fit: cover;
}

.fw-article__body {
  font-size: 1.05rem;
  line-height: 1.75;
}

.fw-article__body h2,
.fw-article__body h3 {
  font-family: var(--fw-serif);
  font-weight: 400;
  margin: 1.75rem 0 0.65rem;
}

.fw-article__body p {
  margin: 0 0 1rem;
}

.fw-article__body ul,
.fw-article__body ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.fw-article__actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fw-line);
}

.fw-wa {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right, 0px));
  bottom: max(1.1rem, env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: #128c7e;
  color: #fff;
  box-shadow: 0 12px 28px rgba(11, 29, 54, 0.28);
  text-decoration: none;
  transition: transform 0.2s var(--fw-ease), filter 0.2s ease;
}

.fw-wa:hover {
  filter: brightness(1.05);
  transform: translateY(-2px) scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .fw-btn,
  .fw-practice-card,
  .fw-post,
  .fw-gallery-card,
  .fw-fact,
  .fw-value,
  .fw-contact-item,
  .fw-wa,
  .fw-reveal {
    transition: none;
  }

  .fw-reveal {
    opacity: 1;
    transform: none;
  }

  .fw-gallery-card:hover .fw-gallery-card__media img {
    transform: none;
  }

  .fw-header__dot,
  .fw-hero__eyebrow-dot {
    animation: none;
  }
}
