.about-contact {
  display: none !important;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

.contact-cta-button,
.contact-methods,
.contact-divider,
.contact-copy {
  display: none !important;
}

.legal-footer {
  min-height: 100px !important;
  height: 100px !important;
  overflow: hidden;
  padding: 16px 24px !important;
  font-size: 0.72rem !important;
}

.legal-footer p {
  margin: 2px auto !important;
  line-height: 1.45 !important;
}

@media (min-width: 761px) {
  .contact-footer {
    height: 300px !important;
    min-height: 300px !important;
    padding: 24px 32px !important;
    overflow: hidden;
    align-items: center;
  }

  .contact-sub {
    margin: 16px auto 0 !important;
    font-size: 0.92rem !important;
  }

  .contact-headline {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
  }
}

.hero-video-bg > img,
.hero-bg {
  content: url("/shield-sword-hero.svg");
  object-fit: cover;
  object-position: center 54%;
}

/* A restrained shield-and-sword watermark reinforces criminal-defense positioning
   while keeping the document-review photo and hero copy readable. */
.hero::before {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(42vw, 520px);
  height: min(58vw, 620px);
  border: 2px solid rgb(214 180 104 / 0.34);
  background:
    radial-gradient(circle at 50% 48%, rgb(214 180 104 / 0.18) 0 3px, transparent 4px),
    linear-gradient(135deg, transparent 49.3%, rgb(214 180 104 / 0.46) 49.7% 50.3%, transparent 50.7%),
    linear-gradient(45deg, transparent 49.3%, rgb(214 180 104 / 0.46) 49.7% 50.3%, transparent 50.7%),
    linear-gradient(180deg, rgb(201 169 110 / 0.1), transparent 70%);
  clip-path: polygon(50% 0, 94% 17%, 88% 67%, 74% 86%, 50% 100%, 26% 86%, 12% 67%, 6% 17%);
  content: "";
  opacity: 0.88;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(52vw, 620px);
  height: min(52vw, 620px);
  background:
    linear-gradient(42deg, transparent 49.4%, rgb(214 180 104 / 0.42) 49.75% 50.25%, transparent 50.6%),
    linear-gradient(-42deg, transparent 49.4%, rgb(214 180 104 / 0.42) 49.75% 50.25%, transparent 50.6%),
    radial-gradient(ellipse at 50% 50%, transparent 0 30%, rgb(214 180 104 / 0.11) 30.2% 30.5%, transparent 31%);
  content: "";
  opacity: 0.68;
  transform: translate(-50%, -50%) rotate(-8deg);
  pointer-events: none;
}

.hero-copy {
  z-index: 2;
}

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

.drawer-toggle {
  display: none;
}

@media (min-width: 521px) and (max-width: 760px) {
  .hero {
    height: 500px;
    min-height: 500px;
    padding: 82px 24px 22px;
  }

  .hero-content {
    width: min(100%, 680px);
  }

  .hero-subtitle {
    margin-bottom: 6px;
    font-size: 0.68rem;
  }

  .hero-title {
    gap: 0;
    font-size: clamp(2.15rem, 7.4vw, 2.85rem);
    line-height: 1.18;
  }

  .hero-desc {
    margin-top: 10px;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .hero-desc-toggle {
    margin-top: 3px;
    font-size: 0.74rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .hero-actions .btn,
  .hero-actions .btn-primary {
    width: 100%;
    max-width: none;
    min-height: 42px;
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  .about-grid {
    grid-template-columns: minmax(160px, 32%) minmax(0, 1fr) !important;
    gap: 26px;
    align-items: start;
  }

  .about-avatar-frame {
    width: 100%;
    max-width: 190px;
    margin: 0;
  }

  .about-header-group {
    text-align: left;
  }

  .about-name {
    font-size: 1.75rem;
  }

  .about-role,
  .about-text {
    font-size: 0.84rem;
  }

  .about-text-group {
    margin-top: 14px;
  }

  .about-data {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 22px 0 18px;
  }

  .about-data-item {
    min-height: 84px;
    aspect-ratio: auto;
    padding: 10px 6px;
  }

  .about-meta-list {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 8px 12px;
    font-size: 0.8rem;
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .hero {
    height: 680px;
    min-height: 680px;
    padding-top: 96px;
    padding-bottom: 54px;
  }

  .hero-title {
    font-size: clamp(3rem, 7vw, 4rem);
  }

  .hero-desc {
    margin-top: 20px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .section {
    padding-top: 84px;
    padding-bottom: 84px;
  }
}

@media (max-width: 760px) {
  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .section-title {
    margin-bottom: 34px;
  }

  .drawer-grid {
    display: block !important;
    min-height: 0 !important;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
  }

  .drawer-grid > .drawer-item {
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--color-border) !important;
    background: transparent !important;
    padding: 0 !important;
    transform: none !important;
  }

  .drawer-grid > .drawer-item:last-child {
    border-bottom: 0 !important;
  }

  .drawer-toggle {
    display: grid;
    width: 100%;
    min-height: 72px;
    grid-template-columns: 42px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: var(--color-text);
    padding: 14px 18px;
    text-align: left;
  }

  .drawer-toggle-number {
    color: var(--color-gold);
    font-family: var(--font-serif);
    font-size: 1rem;
    opacity: 0.72;
  }

  .drawer-toggle-title {
    min-width: 0;
    overflow-wrap: anywhere;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
  }

  .drawer-toggle-icon {
    position: relative;
    width: 24px;
    height: 24px;
    border: 1px solid var(--color-border-light);
  }

  .drawer-toggle-icon::before,
  .drawer-toggle-icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1px;
    background: var(--color-gold);
    content: "";
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
  }

  .drawer-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .drawer-open > .drawer-toggle .drawer-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  #cases .drawer-item:not(.drawer-open) > .project-card-link,
  #analysis .drawer-item:not(.drawer-open) > .case-analysis-card-link,
  #strengths .drawer-item:not(.drawer-open) > :not(.drawer-toggle) {
    display: none !important;
  }

  #cases .drawer-open > .project-card-link,
  #analysis .drawer-open > .case-analysis-card-link {
    display: flex !important;
  }

  #cases .drawer-open .project-card-meta,
  #cases .drawer-open .project-card-title,
  #analysis .drawer-open .case-analysis-card-top,
  #analysis .drawer-open .case-analysis-card-title,
  #strengths .drawer-open > .strength-index,
  #strengths .drawer-open > .strength-title {
    display: none !important;
  }

  #cases .drawer-open .project-card-body,
  #analysis .drawer-open .case-analysis-card-link {
    padding: 0 18px 20px !important;
  }

  #cases .drawer-open .project-card-body {
    padding: 0 !important;
  }

  #analysis .drawer-open .case-analysis-card-link {
    min-height: 0;
  }

  #strengths .drawer-open > .strength-desc {
    display: block !important;
    margin: 0;
    padding: 0 18px 20px;
  }
}

@media (max-width: 520px) {
  .hero {
    height: auto;
    min-height: 570px;
    padding-top: 88px;
    padding-bottom: 42px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 9.4vw, 2.55rem);
  }

  .hero-desc {
    margin-top: 14px;
    font-size: 0.84rem;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .about-grid {
    grid-template-columns: minmax(96px, 37%) minmax(0, 1fr) !important;
    gap: 12px;
    align-items: start;
    min-width: 0;
  }

  .about-avatar-frame {
    width: 100%;
    max-width: none;
    margin: 0;
    min-width: 0;
  }

  .about-header-group {
    text-align: left;
    min-width: 0;
  }

  .about-name {
    overflow-wrap: anywhere;
    font-size: 1.3rem;
  }

  .about-role {
    font-size: 0.72rem;
    line-height: 1.55;
  }

  .about-text-group {
    margin-top: 12px;
  }

  .about-text {
    overflow-wrap: anywhere;
    font-size: 0.76rem;
    line-height: 1.72;
  }

  .about-content,
  .about-text-group,
  .about-meta-list {
    min-width: 0;
  }

  .about-meta-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
  }

  .contact-footer {
    height: 200px !important;
    min-height: 200px !important;
    padding: 18px 20px !important;
    overflow: hidden;
  }

  .contact-headline {
    gap: 2px !important;
    font-size: clamp(1.05rem, 5.3vw, 1.45rem) !important;
    line-height: 1.15 !important;
  }

  .contact-sub {
    margin: 8px auto 0 !important;
    font-size: 0.64rem !important;
    line-height: 1.45 !important;
  }

  .contact-content .section-label {
    margin-bottom: 4px !important;
    font-size: 0.62rem !important;
  }

  .contact-content {
    max-height: 164px;
    overflow: hidden;
  }

  #cases .disclaimer.compact {
    margin-top: 18px;
    padding: 14px 16px;
    font-size: 0.78rem;
    line-height: 1.6;
  }

  .about-data {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 18px 0 14px;
  }

  .about-data-item {
    min-height: 72px;
    aspect-ratio: auto;
    padding: 8px 4px;
  }

  .about-data-number {
    font-size: 1.15rem;
  }

  .about-data-label {
    font-size: 0.62rem;
  }

  .about-meta-list {
    grid-template-columns: 1fr;
    gap: 3px;
    font-size: 0.7rem;
  }

  .about-meta-list dt {
    margin-top: 6px;
  }

  .hero::before {
    width: 250px;
    height: 330px;
    opacity: 0.52;
  }

  .hero::after {
    width: 330px;
    height: 330px;
    opacity: 0.3;
  }
}

@media (max-width: 350px) {
  body {
    min-width: 0 !important;
  }

  .site-shell {
    width: 100%;
    max-width: 100vw;
  }

  .about-grid {
    grid-template-columns: minmax(92px, 37%) minmax(0, 1fr) !important;
    gap: 10px;
  }

  .about-avatar-frame {
    width: 100%;
    margin: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .about-content {
    display: contents;
  }

  .about-header-group {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    text-align: left;
  }

  .about-text-group {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }

  .about-data {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 4px;
  }

  .about-meta-list {
    grid-column: 1 / -1;
    grid-row: 4;
    grid-template-columns: 66px minmax(0, 1fr);
    margin-top: 8px;
  }
}
