* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #171717; font-family: Arial, Helvetica, sans-serif; font-size: 16px; }
a { color: inherit; }
#site-header { position: sticky; top: 0; z-index: 20; }
.site-header { position: relative; height: 93px; background: #fff; }
.header-inner { max-width: 980px; height: 93px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo { display: block; width: 295px; flex: 0 0 295px; }
.logo img { display: block; width: 100%; height: auto; }
.primary-nav { height: 100%; display: flex; align-items: center; gap: 25px; }
.primary-nav > a, .team-nav > a { color: #9b9b9b; text-decoration: none; font-size: 16px; font-style: italic; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a.active { color: #c99c9e; }
.team-nav { height: 100%; display: flex; align-items: center; position: relative; }
.submenu { display: none; position: absolute; top: 65px; left: -16px; min-width: 160px; background: white; padding: 10px 0; box-shadow: 0 4px 12px #0002; }
.submenu a { display: block; padding: 8px 16px; color: #777; font-size: 14px; text-decoration: none; }
.team-nav:hover .submenu, .team-nav:focus-within .submenu { display: block; }
.mobile-toggle { display: none; border: 0; background: none; color: #781a14; padding: 10px; font-size: 27px; cursor: pointer; }
.home-page { background: #f4f4f3 url('/manus-storage/marble_c27fd200.jpg') center top / 1920px auto repeat-y; }
.hero { height: 475px; background-image: url('/manus-storage/skyline_e27873ad.jpg'); background-size: auto 1100px; background-position: center -85px; background-repeat: no-repeat; }
.home-content { max-width: 980px; margin: 0 auto; }
.panel { scroll-margin-top: 93px; background: url('/manus-storage/marble_c27fd200.jpg') center center / cover no-repeat; }
.panel > h1, .panel > h2 { margin: 0; color: #8b2019; font-family: Georgia, 'Times New Roman', serif; font-size: 40px; line-height: 1.2; text-align: center; font-weight: 700; }
.practice-panel { min-height: 805px; padding: 82px 50px 78px; }
.practice-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 99px; row-gap: 72px; margin-top: 46px; }
.practice-grid article { position: relative; padding-left: 50px; }
.practice-grid article::before { content: ''; position: absolute; left: 0; top: 6px; width: 11px; height: 11px; background: #d9c5b8; }
.practice-grid h2 { font-size: 20px; line-height: 1.2; margin: 0 0 6px; }
.practice-grid p { font-size: 15px; line-height: 1.32; margin: 0; text-align: justify; }
.about-panel { min-height: 510px; padding: 110px 50px 90px; }
.about-copy { margin-top: 41px; font-size: 16px; line-height: 1.55; text-align: justify; }
.about-copy p { margin: 0 0 25px; }
.team-panel { min-height: 613px; padding: 110px 100px 95px; }
.team-grid { margin-top: 45px; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 94px; }
.team-member { width: 196px; max-width: 100%; text-align: center; color: #4f0e0b; font-family: Georgia, 'Times New Roman', serif; border-bottom: 1px solid #aaa; padding-bottom: 22px; }
.team-member img, .portrait-spacer { display: block; width: 196px; max-width: 100%; height: 220px; object-fit: cover; }
.team-member .member-name { display: block; margin-top: 20px; font-size: 20px; text-decoration: none; }
.team-member span { display: block; margin-top: 5px; font-size: 17px; }
.contact-panel { min-height: 915px; padding: 110px 100px 70px; color: #4b130f; }
.contact-grid { display: grid; grid-template-columns: 245px 1fr; gap: 50px; margin-top: 48px; }
.address { font-size: 15px; line-height: 1.55; }
.address h3 { font-size: 20px; margin: 0; }
.address p { margin: 0 0 25px; }
.address a { text-decoration: none; }
.map-placeholder { position: relative; height: 240px; background: #e9e7e2; border: 2px solid #761b17; color: #333; overflow: hidden; }
.map-card { position: absolute; left: 50%; top: 0; transform: translateX(-50%); padding: 20px 15px; background: white; border-radius: 3px; box-shadow: 0 2px 5px #0004; font-size: 12px; }
.map-pin { position: absolute; top: 85px; left: 50%; width: 15px; height: 15px; border-radius: 50% 50% 50% 0; transform: translateX(-50%) rotate(-45deg); background: #be332c; }
.map-placeholder > a { position: absolute; right: 5px; bottom: 5px; padding: 4px 6px; background: #fff; color: #555; font-size: 10px; text-decoration: none; }
.general-inquiries { font-size: 16px; margin-top: 65px; color: #2b2b2b; }
.site-footer { max-width: 980px; margin: 0 auto; min-height: 50px; padding: 18px 50px; font-size: 12px; color: #3c241f; }
.profile-page { background: #f5eae2; }
.profile-shell { max-width: 980px; min-height: 606px; margin: 0 auto; display: grid; grid-template-columns: 295px 1fr; gap: 34px; background: #e5e1dc url('/manus-storage/profile-bg_b9f13ed5.png') center center / cover no-repeat; }
.profile-portrait { width: 295px; height: 433px; object-fit: cover; }
.profile-empty { width: 295px; }
.profile-content { padding: 49px 25px 60px 0; font-size: 15px; line-height: 1.4; }
.profile-content h1 { margin: 0 0 31px; text-align: center; font: 36px/1.2 Georgia, 'Times New Roman', serif; color: #7d1c16; }
.profile-content .role { font-weight: bold; margin: 0; }
.profile-content .email { display: inline-block; margin-bottom: 46px; }
.profile-content p { margin: 0 0 20px; }
.profile-content h2, .profile-content h3 { font-size: inherit; font-weight: normal; margin: 0 0 12px; }
.profile-content h3 { text-decoration: underline; }
.profile-content ul { padding-left: 25px; margin: 0 0 20px; }
.profile-content li { margin-bottom: 0; }
@media (max-width: 1020px) {
  .header-inner { padding: 0 22px; }
  .primary-nav { gap: 15px; }
  .primary-nav > a, .team-nav > a { font-size: 14px; }
  .home-content, .profile-shell { width: calc(100% - 40px); }
  .team-grid { column-gap: 30px; }
}
@media (max-width: 900px) {
  .site-header, .header-inner { height: 72px; }
  .logo { width: 220px; flex-basis: 220px; }
  .mobile-toggle { display: block; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; height: auto; padding: 14px 22px 22px; background: #fff; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 5px 8px #0002; }
  .primary-nav.open { display: flex; }
  .primary-nav > a, .team-nav > a { display: block; padding: 10px 0; font-size: 14px; }
  .team-nav { height: auto; display: block; }
  .submenu { position: static; display: block; padding: 0 0 4px 12px; box-shadow: none; }
  .submenu a { padding: 7px 0; }
  .panel { scroll-margin-top: 72px; }
  .team-panel { padding-left: 50px; padding-right: 50px; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-member img, .portrait-spacer { height: auto; aspect-ratio: 196 / 220; }
}
@media (max-width: 700px) {
  .hero { height: 330px; background-size: auto 720px; background-position: center -55px; }
  .home-content, .profile-shell { width: 100%; }
  .panel { scroll-margin-top: 72px; }
  .panel > h1, .panel > h2 { font-size: 30px; }
  .practice-panel, .about-panel, .team-panel, .contact-panel { min-height: 0; padding: 65px 30px; }
  .practice-grid { grid-template-columns: 1fr; gap: 34px; margin-top: 38px; }
  .practice-grid article { padding-left: 28px; }
  .practice-grid h2 { font-size: 18px; }
  .practice-grid p, .about-copy { font-size: 15px; line-height: 1.5; }
  .about-copy { margin-top: 35px; }
  .team-grid { grid-template-columns: 1fr; justify-items: center; gap: 35px; }
  .team-member { width: 196px; }
  .portrait-spacer { display: none; }
  .team-member:has(.portrait-spacer) .member-name { margin-top: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 35px; }
  .map-placeholder { height: 240px; }
  .general-inquiries { margin-top: 35px; line-height: 1.5; }
  .site-footer { padding: 18px 30px; }
  .profile-shell { display: block; min-height: 0; padding-bottom: 1px; }
  .profile-portrait { display: block; width: min(295px, 75%); height: auto; }
  .profile-empty { display: none; }
  .profile-content { padding: 36px 30px 55px; font-size: 15px; }
  .profile-content h1 { font-size: 30px; }
  .profile-content .email { margin-bottom: 30px; }
}
