:root {
  --magenta: #c2185b;
  --magenta-deep: #8a1140;
  --bordeaux: #c2185b;
  --bordeaux-deep: #8a1140;
  --teal: #8d3d5b;
  --teal-soft: #f3c5d6;
  --cream: #fbf4f7;
  --paper: #fff8fb;
  --ink: #1c1216;
  --muted: #6e5a62;
  --line: #ead5de;
  --white: #ffffff;
  --shadow: 0 16px 36px rgba(138, 17, 64, 0.08);
  --radius: 2px;
  --header: 80px;
  --max: 1120px;
  --sans: "Montserrat", "Open Sans", system-ui, sans-serif;
  --serif: "Fraunces", "Palatino Linotype", Georgia, serif;
  --body: "Open Sans", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 1000;
  background: var(--white);
  padding: 8px 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--magenta);
  box-shadow: 0 5px 8px rgba(138, 17, 64, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header);
}

.logo {
  text-decoration: none;
  color: var(--white);
  display: grid;
  line-height: 1.15;
}
.logo strong {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.02rem;
  color: var(--white);
  white-space: nowrap;
}
.logo span {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-soft);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  text-decoration: none;
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--teal-soft); }

.nav-cta {
  background: var(--white);
  color: var(--bordeaux) !important;
  padding: 10px 16px;
  border-radius: 999px;
}
.nav-cta[href^="mailto"] {
  font-size: 0.78rem;
  padding: 10px 14px;
}
.nav-cta:hover { background: var(--teal-soft); color: var(--bordeaux-deep) !important; }

.nav-legal { display: none; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: 0.2s ease;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

.hero {
  display: block;
  color: var(--ink);
  background: var(--paper);
}
.hero-media {
  position: relative;
  display: grid;
  grid-template-areas: "hero";
  background: #d8d6d2;
}
.hero-media > img {
  grid-area: hero;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
  filter: brightness(1.04);
}
.hero-copy {
  grid-area: hero;
  position: sticky;
  top: calc(var(--header) + 12px);
  align-self: start;
  justify-self: center;
  width: min(var(--max), calc(100% - 40px));
  max-width: none;
  margin-inline: auto;
  padding: 8px 0 16px;
  z-index: 1;
  pointer-events: none;
  text-align: center;
  line-height: 1.2;
}
.hero-copy-stack {
  display: grid;
  grid-template-areas: "hero-copy";
  align-items: start;
  justify-items: center;
}
.hero-intro,
.hero-slogan {
  grid-area: hero-copy;
  width: 100%;
  animation-duration: 1s;
  animation-delay: 4s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}
.hero-intro {
  margin: 0;
  animation-name: hero-copy-out;
}
.hero-slogan {
  opacity: 0;
  animation-name: hero-copy-in;
}
.hero-intro-name {
  display: block;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.75rem, 3.8vw, 3.1rem);
  line-height: 1.12;
  margin-bottom: 8px;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85), 0 8px 24px rgba(255, 255, 255, 0.55);
}
.hero-intro-place {
  display: block;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bordeaux);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}
.hero-copy h1 {
  font-size: clamp(1.75rem, 3.8vw, 3.1rem);
  line-height: 1.12;
  margin-inline: auto;
  margin-bottom: 0;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85), 0 8px 24px rgba(255, 255, 255, 0.55);
}
@media (min-width: 881px) {
  .hero-copy h1 { max-width: 18ch; }
}
.hero-copy .kicker {
  margin-bottom: 8px;
  font-size: 0.82rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}
@keyframes hero-copy-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes hero-copy-in {
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-intro,
  .hero-slogan {
    animation: none;
  }
  .hero-intro {
    opacity: 0;
    visibility: hidden;
  }
  .hero-slogan {
    opacity: 1;
  }
}
.kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bordeaux);
  margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 560; line-height: 1.18; margin: 0 0 12px; }
h1 { font-size: clamp(2.15rem, 4.5vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; font-family: var(--sans); font-weight: 700; }

.lead { font-size: 1.12rem; max-width: 62ch; opacity: 0.96; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 20px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
}
.btn-primary { background: var(--white); color: var(--bordeaux); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-solid { background: var(--bordeaux); color: var(--white); }
.btn-solid:hover { background: var(--bordeaux-deep); }
.btn-line { background: transparent; color: var(--bordeaux); border-color: var(--bordeaux); }

.section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p,
.prose p { color: var(--muted); }
.eyebrow {
  color: var(--teal);
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 10px;
}

.promise {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 24px;
  align-items: start;
}
.promise-card,
.card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.promise-card { padding: 36px; }
.promise-visual {
  display: grid;
  gap: 10px;
  border-radius: var(--radius);
  overflow: hidden;
  background: transparent;
}
.promise-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  min-height: 0;
  border-radius: var(--radius);
  background: #eceae7;
}

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill {
  background: var(--teal-soft);
  color: var(--magenta-deep);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-family: var(--sans);
  font-weight: 600;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.practice {
  padding: 24px;
  display: grid;
  gap: 12px;
  min-height: 100%;
}
.practice:hover { box-shadow: 0 20px 40px rgba(138, 17, 64, 0.12); }
.icon {
  width: 48px;
  height: 48px;
  border-radius: 2px;
  background: var(--teal-soft);
  color: var(--magenta);
  display: grid;
  place-items: center;
}
.icon svg { width: 26px; height: 26px; }
.practice p { margin: 0; color: var(--muted); }
.practice a { font-weight: 700; text-decoration: none; font-family: var(--sans); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.person {
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.person img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  background: #eceae7;
}
.person-body { padding: 14px 14px 18px; }
.person-body h3 { font-size: 1rem; margin-bottom: 4px; }
.person-body p { margin: 0; color: var(--muted); font-size: 0.86rem; }

.quote-band {
  position: relative;
  color: var(--white);
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background: var(--bordeaux);
}
.quote-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 48%;
}
.quote-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--magenta) 72%, #1c1216);
}
.quote-band blockquote {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  font-weight: 500;
  max-width: 820px;
  margin: 0;
  padding: 64px 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}
.contact-box { padding: 32px; }
.contact-box dl { margin: 0; display: grid; gap: 12px; }
.contact-box dt {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}
.contact-box dd { margin: 0; font-size: 1.05rem; }
.hotline {
  margin-top: 24px;
  padding: 16px;
  border-radius: 4px;
  background: #fff4e8;
  border: 1px solid #f0d7b8;
}
.hotline strong { color: var(--bordeaux); }

.site-footer {
  background: var(--bordeaux);
  color: var(--teal-soft);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
.site-footer strong { color: var(--white); font-family: var(--serif); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.legal { margin-top: 28px; font-size: 0.85rem; opacity: 0.85; }

.page-hero {
  padding: 48px 0 20px;
  background: var(--cream);
  border-bottom: 4px solid var(--bordeaux);
}

.lawyer-more { margin-top: 48px; }
.lawyer-more .team-grid { grid-template-columns: repeat(4, 1fr); }

.profile {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 56px;
}
.profile img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  background: #eceae7;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.chip {
  background: var(--teal-soft);
  color: var(--magenta-deep);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-family: var(--sans);
  font-weight: 700;
}
.prose { max-width: 68ch; }
.prose ul { color: var(--muted); }
.legal-page { max-width: 78ch; }
.legal-page h2 { margin-top: 1.6em; }
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 12px 0 28px;
  font-family: var(--sans);
  font-weight: 600;
}

.area {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 28px;
  margin-bottom: 16px;
}
.area .icon { width: 64px; height: 64px; }

.mobile-call {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  background: var(--bordeaux);
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-family: var(--sans);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.lawyer-cta { margin-top: 28px; }
.profile .prose h2 { margin-top: 0; }

@media (max-width: 980px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .lawyer-more .team-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .promise, .contact-grid, .profile, .footer-grid { grid-template-columns: 1fr; }
  .team-grid > .person:nth-child(5) { grid-column: 1 / -1; max-width: 360px; }
}

@media (max-width: 880px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 0;
    transform: translateX(110%);
    transition: transform 0.25s ease;
  }
  body.nav-open .nav { transform: none; }
  .nav a {
    padding: 16px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 1.12rem;
    color: var(--ink);
  }
  .nav a:hover,
  .nav a[aria-current="page"] { color: var(--bordeaux); }
  .nav-cta {
    margin-top: 16px;
    justify-content: center;
    background: var(--bordeaux);
    color: var(--white) !important;
  }
  .nav-legal { display: block; }
  .mobile-call { display: inline-flex; }
  .section { padding: 56px 0; }
  .hero-copy {
    width: min(var(--max), calc(100% - 28px));
    padding-top: 6px;
    text-align: center;
  }
  .hero-copy h1,
  .hero-intro-name { font-size: clamp(1.4rem, 6vw, 2rem); }
  .hero-copy .hero-slogan h1 {
    max-width: none;
    white-space: nowrap;
    letter-spacing: -0.02em;
    font-size: clamp(0.68rem, 4.5vw, 1.28rem);
  }
  .area { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .team-grid { grid-template-columns: 1fr; }
  .team-grid > .person:nth-child(5) { max-width: none; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .logo strong { font-size: 0.92rem; }
}

/* Hero overlay only: keep type in the bright wall above the heads */
@media (max-width: 768px) {
  .hero-copy {
    width: min(var(--max), calc(100% - 24px));
    padding: 2px 0 6px;
    line-height: 1.12;
  }
  .hero-intro-name {
    font-size: clamp(1.02rem, 2.6vw, 1.22rem);
    line-height: 1.05;
    margin-bottom: 3px;
  }
  .hero-copy .hero-slogan h1 {
    max-width: none;
    white-space: nowrap;
    letter-spacing: -0.02em;
    font-size: clamp(0.68rem, 4.5vw, 1.22rem);
  }
  .hero-copy .kicker,
  .hero-intro-place {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
  }
}

@media (max-width: 480px) {
  .hero-copy {
    width: min(var(--max), calc(100% - 16px));
    padding: 0 0 4px;
    line-height: 1.08;
  }
  .hero-intro-name {
    font-size: clamp(0.92rem, 3.9vw, 1.02rem);
    line-height: 1.04;
    margin-bottom: 2px;
  }
  .hero-copy .hero-slogan h1 {
    max-width: none;
    white-space: nowrap;
    letter-spacing: -0.025em;
    font-size: clamp(0.65rem, 4.4vw, 1.02rem);
  }
  .hero-copy .kicker,
  .hero-intro-place {
    font-size: 0.5rem;
    letter-spacing: 0.02em;
    margin-bottom: 2px;
    max-width: 100%;
  }
}
