:root {
  --bg: #ffffff;
  --fg: #111111;
  --line: #111111;
  --accent: #D4AF37; /* 香槟金/高级黄作为点缀 */
  --muted: #666666;
  --font-heading: "Noto Serif SC", "Songti SC", STSong, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--font-body);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: none; /* Hide the old boxy mark for minimal style */
}

.brand strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.top-nav {
  display: flex;
  gap: 24px;
}

.top-nav a {
  color: var(--fg);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 30;
  }
  
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--fg);
    margin: 3px auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
  }
  
  .site-header.nav-open .top-nav {
    opacity: 1;
    visibility: visible;
  }
  
  .top-nav a {
    font-size: 24px;
  }
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.hero-copy {
  width: 50%;
  padding: 64px 48px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-media {
  width: 50%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  max-width: 500px;
  margin: 24px 0 0;
  font-size: 16px;
  color: var(--muted);
}

.hero-actions,
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: transparent;
  color: var(--fg);
  transition: all 0.3s ease;
}

.btn.primary {
  background: var(--fg);
  color: var(--bg);
}

.btn.primary:hover {
  background: transparent;
  color: var(--fg);
}

.btn.ghost:hover {
  background: var(--fg);
  color: var(--bg);
}

.hero-facts span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.hero-facts strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--fg);
  margin-bottom: 4px;
}

.section {
  padding: 80px 48px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.section h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.2;
  margin: 0 0 48px;
}

.section-actions {
  margin-top: 48px;
}

.featured-article {
  background: var(--bg);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  padding: 48px;
  margin-bottom: 24px;
}

.article-head {
  margin-bottom: 32px;
}

.article-head p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-head h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 40px);
}

.article-body {
  max-height: 240px;
  overflow: hidden;
  color: var(--fg);
  transition: max-height 0.4s ease;
  position: relative;
}

.article-body::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
}

.article-body.expanded {
  max-height: 2000px;
}

.article-body.expanded::after {
  display: none;
}

.article-body p {
  margin: 0 0 24px;
}

.text-button {
  display: inline-flex;
  margin-top: 24px;
  padding: 0;
  color: var(--fg);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  cursor: pointer;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
}

.profile-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.profile-image {
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}

.profile-copy {
  padding: 64px 48px;
}

.profile-cases {
  margin-top: 48px;
  padding-top: 48px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.profile-cases h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.profile-cases ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-cases li {
  position: relative;
  padding-top: 16px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--muted);
}

.profile-cases li::before {
  display: none;
}

.profile-cases strong {
  display: block;
  color: var(--fg);
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 8px;
}

.profile-list {
  display: grid;
  gap: 0;
  margin: 48px 0 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.profile-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  align-items: baseline;
}

.profile-list dt {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.profile-list dd {
  margin: 0;
  font-size: 14px;
}

.profile-actions {
  margin-top: 48px;
}

.services-section {
  background: var(--bg);
  color: var(--fg);
}

.services-section h2 {
  color: var(--fg);
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.service-card {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  padding: 32px 0;
  background: transparent;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  transition: padding-left 0.3s ease;
}

.service-card:hover {
  padding-left: 24px;
}

.service-card span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
}

.service-card h3 {
  margin: 0;
  font-size: 32px;
}

.card-link {
  display: inline-flex;
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  padding-bottom: 4px;
}

.aclass-section {
  max-width: none;
  background: var(--panel);
}

.aclass-section > * {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.timeline div {
  min-height: 220px;
  padding: 32px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.timeline strong {
  display: block;
  color: var(--fg);
  font-family: var(--font-heading);
  font-size: 24px;
}

.timeline p {
  margin: 16px 0 0;
  color: var(--muted);
}

.credential-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.credential-layout img {
  width: 100%;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  
}

.credential-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.credential-list p {
  margin: 0;
  padding: 24px 0;
  background: transparent;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.credential-cta {
  justify-self: start;
  margin-top: 32px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.case-grid article {
  padding: 48px;
  background: var(--bg);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  min-height: 220px;
}

.case-grid h3 {
  margin: 0 0 16px;
  color: var(--fg);
  font-size: 24px;
}

.case-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.team-section {
  background: var(--bg);
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.team-member {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 32px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  align-items: center;
}

.team-member.lead {
  grid-column: 1 / -1;
  grid-template-columns: 200px 1fr;
  padding: 48px 0;
}

.team-member img,
.avatar-text {
  width: 100%;
  aspect-ratio: 3/4;
  height: auto;
  object-fit: cover;
  
}

.avatar-text {
  background: var(--bg);
  color: var(--fg);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.team-member h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.team-member.lead h3 {
  font-size: 36px;
}

.team-member p {
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  padding-bottom: 96px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 64px 48px;
  color: var(--bg);
  background: var(--fg);
}

.contact-panel h2 {
  color: var(--bg);
}

.contact-panel p {
  margin: 16px 0;
  color: rgba(255, 255, 255, 0.6);
}

.qr-card {
  display: grid;
  gap: 16px;
  justify-items: center;
  align-self: center;
  padding: 24px;
  color: var(--fg);
  background: var(--bg);
}

.qr-card img {
  width: 140px;
  height: 140px;
}

.qr-card span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer {
  padding: 48px 48px;
  color: var(--muted);
  background: var(--bg);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-footer p {
  margin: 4px 0;
}

.sub-hero {
  display: grid;
  min-height: 50vh;
  grid-template-columns: 1fr 400px;
  gap: 0;
  align-items: center;
  padding: 80px 48px;
  color: var(--fg);
  background: var(--bg);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.sub-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  margin: 0;
}

.sub-hero p {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.sub-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  
}

.product-hero,
.certificate-hero,
.private-hero {
  display: block;
  min-height: auto;
  padding: 120px 48px;
  background: var(--bg);
  color: var(--fg);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.product-hero h1,
.certificate-hero h1,
.private-hero h1 {
  color: var(--fg);
}

.detail-grid,
.audience-grid,
.process-list,
.summary-grid {
  display: grid;
  gap: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

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

.detail-grid article,
.audience-grid article,
.process-list article,
.summary-grid article {
  padding: 32px;
  background: var(--bg);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.detail-grid h3,
.audience-grid h3,
.process-list h3 {
  margin: 0 0 16px;
  color: var(--fg);
  font-size: 24px;
}

.detail-grid p,
.audience-grid p,
.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.role-section,
.scholarship-section,
.appointments-band {
  background: var(--bg);
}

.role-list,
.paper-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.role-list p,
.paper-list p {
  margin: 0;
  padding: 24px;
  background: var(--bg);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

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

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

.process-section {
  background: var(--bg);
  color: var(--fg);
}

.process-section h2 {
  color: var(--fg);
}

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

.process-list article {
  background: transparent;
  border-color: rgba(17, 17, 17, 0.08);
}

.process-list span {
  color: var(--muted);
  font-family: var(--font-body);
}

.process-list h3 {
  color: var(--fg);
}

.process-list p {
  color: var(--muted);
}

.product-principles {
  margin-top: 48px;
}

.private-map-section {
  color: var(--fg);
  background: var(--bg);
}

.private-map-section h2 {
  color: var(--fg);
}

.private-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.private-map article {
  min-height: 230px;
  padding: 32px;
  background: transparent;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.private-map span {
  color: var(--muted);
  font-family: var(--font-body);
}

.private-map h3 {
  margin: 34px 0 12px;
  color: var(--fg);
  font-size: 24px;
}

.private-map p {
  margin: 0;
  color: var(--muted);
}

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

.summary-grid article {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
  text-align: center;
}

.summary-grid strong {
  color: var(--claret);
  font-size: 46px;
  line-height: 1;
}

.summary-grid span {
  color: var(--muted);
}

.combined-links {
  max-width: 860px;
}

.cert-section {
  max-width: none;
}

.cert-section > * {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.certificate-card {
  display: grid;
  min-height: 420px;
  background: var(--bg);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  padding: 16px;
}

.cert-visual {
  display: grid;
  min-height: 230px;
  aspect-ratio: 1.32;
  place-items: center;
  background: transparent;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  overflow: hidden;
}

.cert-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: var(--fg);
  background: var(--bg);
}

.cert-placeholder strong {
  color: var(--fg);
  font-family: var(--font-heading);
  font-size: 26px;
}

.cert-placeholder span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cert-meta {
  padding: 32px;
}

.cert-meta span,
.cert-badge {
  display: inline-flex;
  margin: 0 6px 16px 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-style: normal;
}

.cert-badge {
  color: var(--fg);
}

.cert-meta h3 {
  margin: 0 0 16px;
  color: var(--fg);
  font-size: 20px;
  line-height: 1.3;
}

.cert-meta p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  word-break: break-all;
}

.cert-meta a {
  display: inline-flex;
  padding: 0;
  color: var(--fg);
  background: transparent;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
}

.team-hero-page {
  background:
    linear-gradient(135deg, rgba(17, 24, 32, 0.94), rgba(23, 59, 53, 0.75)),
    var(--deep);
}

.team-switcher {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  padding: 0 48px;
  overflow-x: auto;
  scrollbar-width: none;
}

.team-switcher::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 24px 0;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: -1px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--fg);
}

.tab-btn.is-active {
  color: var(--fg);
  border-bottom-color: var(--fg);
}

.lawyer-editorial-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.lawyer-editorial-card:first-child {
  border-top: none;
}

.lawyer-editorial-visual {
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  position: relative;
}

.sticky-visual {
  position: sticky;
  top: 65px; /* header height */
  height: calc(100vh - 65px);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-visual img {
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: cover;
  
}

.lawyer-initials {
  width: 100%;
  height: 100%;
  max-height: 80vh;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--fg);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  font-size: 72px;
  font-family: var(--font-heading);
}

.lawyer-editorial-content {
  padding: 64px 48px;
  background: var(--bg);
}

.lawyer-editorial-header {
  margin-bottom: 48px;
}

.lawyer-editorial-header h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  margin: 0 0 24px;
}

.lawyer-summary {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 600px;
}

.lawyer-facts {
  display: grid;
  gap: 0;
  margin: 48px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.lawyer-facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  align-items: baseline;
}

.lawyer-facts dt {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lawyer-facts dd {
  margin: 0;
  font-size: 14px;
}

.lawyer-sections {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.lawyer-sections h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.lawyer-sections ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lawyer-sections li {
  position: relative;
  padding-top: 16px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--muted);
}

.lawyer-actions {
  margin-top: 64px;
}

@media (max-width: 900px) {
  .lawyer-editorial-card {
    grid-template-columns: 1fr;
  }
  
  .lawyer-editorial-visual {
    border-right: none;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  }
  
  .sticky-visual {
    position: relative;
    top: 0;
    height: auto;
    padding: 24px;
  }
  
  .sticky-visual img,
  .lawyer-initials {
    aspect-ratio: 3/4;
    height: auto;
  }
  
  .lawyer-editorial-content {
    padding: 32px 24px;
  }
}

.mobile-cta {
  position: fixed;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 12px;
  z-index: 30;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: var(--deep);
  border: 1px solid rgba(185, 144, 79, 0.34);
  box-shadow: 0 14px 40px rgba(17, 24, 32, 0.28);
}

.mobile-cta a {
  display: grid;
  min-height: 48px;
  place-items: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.mobile-cta a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    justify-content: flex-end;
  }
  .hero-media {
    width: 100%;
    height: 50%;
    top: 0;
    bottom: auto;
  }
  .hero-copy {
    width: 100%;
    padding: 32px 24px 64px;
    margin-top: 50vh;
  }
}

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .top-nav {
    width: 100%;
  }

  .service-strip {
    top: 96px;
  }

  .hero,
  .hero-copy {
    min-height: 670px;
  }

  .hero-media img {
    object-position: center top;
  }

  .profile-card,
  .credential-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .profile-image {
    min-height: 520px;
  }

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

  .case-grid,
  .team-list,
  .detail-grid,
  .audience-grid,
  .process-list,
  .certificate-grid,
  .private-map {
    grid-template-columns: 1fr;
  }

  .sub-hero {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .sub-hero img {
    max-height: 440px;
  }

  .role-list,
  .paper-list,
  .summary-grid,
  .timeline.compact {
    grid-template-columns: 1fr;
  }

  .lawyer-profile-panel {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .lawyer-visual {
    position: static;
    min-height: 380px;
  }

  .lawyer-visual img,
  .lawyer-initials {
    height: 420px;
  }

  .lawyer-facts {
    grid-template-columns: 1fr;
  }

@media (max-width: 620px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr 44px;
    align-items: center;
    gap: 10px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .top-nav {
    grid-column: 1 / -1;
    display: grid;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    padding: 0;
    border-top: 0 solid transparent;
    transition:
      max-height 220ms ease,
      padding 220ms ease,
      border-color 220ms ease;
    white-space: normal;
  }

  .site-header.nav-open .top-nav {
    max-height: 420px;
    padding-top: 10px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  }

  .top-nav a {
    min-height: 42px;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(23, 32, 42, 0.08);
    font-size: 15px;
  }

  .service-strip {
    top: 67px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero,
  .hero-copy {
    min-height: 660px;
  }

  .hero-media img {
    object-position: 58% top;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(17, 24, 32, 0.05) 20%, rgba(17, 24, 32, 0.9)),
      linear-gradient(90deg, rgba(17, 24, 32, 0.38), rgba(17, 24, 32, 0.1));
  }

  .hero-copy {
    padding: 92px 18px 38px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-actions .btn {
    flex: 1 1 140px;
  }

  .hero-facts span {
    flex: 1 1 120px;
  }

  .section {
    padding: 56px 18px;
  }

  .article-head,
  .article-body {
    padding-right: 18px;
    padding-left: 18px;
  }

  .text-button {
    width: calc(100% - 36px);
    margin-right: 18px;
    margin-left: 18px;
  }

  .profile-card {
    gap: 22px;
  }

  .profile-image {
    min-height: 430px;
  }

  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-card,
  .timeline div {
    min-height: auto;
  }

  .team-member,
  .team-member.lead {
    grid-template-columns: 88px minmax(0, 1fr);
    padding: 14px;
  }

  .team-member img,
  .team-member.lead img,
  .avatar-text {
    width: 88px;
    height: 112px;
  }

  .team-member h3 {
    font-size: 17px;
  }

  .team-member p {
    font-size: 13px;
  }

  .contact-panel {
    padding: 26px 18px;
  }

  .mobile-cta.is-visible {
    display: grid;
  }
}
