:root {
  --brand: #C81428;
  --text: #424242;
  --soft-bg: #f4f4f4;
  --content-width: 1400px;
  --header-height: 110px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 1.15px;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 110px;
  background: #fff;
  transition: box-shadow .2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 5px 14px rgba(0, 0, 0, .14);
}

.header-inner {
  width: min(100% - 100px, 1820px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 174px;
  /* height: 44px; */
}

.brand-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-container .brand-2 {
  display: none;
}

.main-nav {
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: clamp(54px, 5vw, 92px);
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 2px 0 0;
  font-family: "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.main-nav a.active {
  color: var(--brand);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--brand);
}

@media (min-width: 1536px) {
  .main-nav {
    gap: 74px;
    /* margin-right: 205px; */
  }
}

.glance {
  min-height: 497px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f3f3f3;
}

.glance-copy {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.glance-copy-inner {
  width: min(700px, calc(100% - 80px));
  padding-right: 76px;
}

.glance h1 {
  margin-bottom: 20px;
  color: #494949;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 3px;
}

.glance p {
  color: #606060;
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 1.1px;
}

.glance p + p {
  margin-top: 27px;
}

.glance-image {
  height: 497px;
  overflow: hidden;
}

.glance-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.metrics {
  height: 217px;
  color: #fff;
  background: var(--brand);
}

.metrics-inner {
  width: min(100% - 160px, 1240px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.metric {
  text-align: center;
}

.metric strong {
  display: block;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 1px;
}

.metric span {
  display: block;
  margin-top: 3px;
  font-size: 18px;
  letter-spacing: .5px;
}

.section-heading {
  height: 162px;
  display: grid;
  place-items: center;
}

.section-heading h2,
.offices-section > h2,
.team-section > h2 {
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 2px;
}

.services-panel {
  min-height: 712px;
  background: var(--soft-bg);
}

.services-grid {
  width: min(100% - 120px, 1256px);
  margin: 0 auto;
  padding: 65px 0 57px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 124px;
}

.services-grid h3 {
  margin-bottom: 39px;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: 2px;
}

.services-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-grid li {
  position: relative;
  min-height: 56px;
  padding: 2px 0 20px 50px;
  color: #282828;
  font-size: 17px;
  letter-spacing: .8px;
}

.services-grid li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--brand);
}

.offices-section {
  padding: 134px 0 154px;
  text-align: center;
  background: #fff;
}

.offices-section > h2 {
  margin-bottom: 18px;
}

.map-figure {
  width: min(1079px, calc(100% - 80px));
  margin: 0 auto;
}

.map-figure img {
  width: 100%;
  height: auto;
}

.office-cards {
  width: min(100% - 80px, 1400px);
  margin: 57px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 98px;
}

.office-card {
  background: #ececeb;
}

.office-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.office-card h3 {
  height: 80px;
  display: grid;
  place-items: center;
  color: #2a2a2a;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 1px;
}

.team-section {
  padding: 3px 0 139px;
  text-align: center;
}

.team-section > h2 {
  margin-bottom: 80px;
}

.team-grid {
  width: min(100% - 160px, 1260px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 74px;
  row-gap: 66px;
}

.portrait-frame {
  position: relative;
  width: 224px;
  height: 224px;
  margin: 0 auto 20px;
}

@media (hover: hover) {
  .team-member:hover .portrait-frame img {
    transform: scale(1.08);
  }
}

.team-member:active .portrait-frame img {
  transform: scale(1.05);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  border: 2px solid #BFBFBF;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.portrait-frame::before {
  width: 100%;
  height: 100%;
}

.portrait-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform .45s ease;
}

.team-member h3 {
  color: #202020;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 1px;
}

.team-member p {
  margin-top: 5px;
  color: #2a2a2a;
  font-size: 15px;
  line-height: 1.14;
  letter-spacing: .5px;
}

.contact {
  position: relative;
  min-height: 231px;
  overflow: hidden;
  color: #fff;
  background: var(--brand);
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: url("/images/1015.png") center center / cover no-repeat;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 80px, 1350px);
  min-height: 231px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.contact h2 {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 0;
}

.contact address {
  justify-self: end;
  width: 325px;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0;
}

.contact address a {
  display: block;
}

.legal {
  min-height: 106px;
  padding: 24px 20px 20px;
  color: #fff;
  background: #242424;
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 2px;
}

.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 900;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top span {
  position: absolute;
  top: 19px;
  left: 17px;
  width: 14px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(200, 20, 40, .3);
  outline-offset: 3px;
}

@media (max-width: 1536px) {
  :root {
    --header-height: 90px;
  }

  .site-header {
    height: 90px;
  }

  .header-inner {
    width: min(100% - 70px, 1420px);
  }

  .brand img {
    width: 145px;
    height: auto;
  }

  .main-nav {
    gap: 55px;
    /* margin-right: 100px; */
  }

  .main-nav a {
    font-size: 16px;
  }

  .glance {
    min-height: 410px;
  }

  .glance-copy-inner {
    width: min(580px, calc(100% - 60px));
    padding-right: 50px;
  }

  .glance h1 {
    margin-bottom: 17px;
    font-size: 34px;
  }

  .glance p {
    font-size: 15px;
  }

  .glance p + p {
    margin-top: 22px;
  }

  .glance-image {
    height: 410px;
  }

  .metrics {
    height: 185px;
  }

  .metrics-inner {
    width: min(100% - 120px, 1100px);
  }

  .metric strong {
    font-size: 54px;
  }

  .metric span {
    font-size: 16px;
  }

  .section-heading {
    height: 130px;
  }

  .section-heading h2,
  .offices-section > h2,
  .team-section > h2 {
    font-size: 28px;
  }

  .services-panel {
    min-height: 580px;
  }

  .services-grid {
    width: min(100% - 90px, 1050px);
    padding: 50px 0 45px;
    gap: 90px;
  }

  .services-grid h3 {
    margin-bottom: 32px;
    font-size: 26px;
  }

  .services-grid li {
    min-height: 45px;
    padding: 2px 0 16px 42px;
    font-size: 15px;
  }

  .services-grid li::before {
    width: 21px;
    height: 21px;
  }

  .offices-section {
    padding: 105px 0 125px;
  }

  .map-figure {
    width: min(900px, calc(100% - 70px));
  }

  .office-cards {
    width: min(100% - 70px, 1150px);
    margin-top: 46px;
    gap: 70px;
  }

  .office-card h3 {
    height: 65px;
    font-size: 16px;
  }

  .team-section {
    padding: 2px 0 115px;
  }

  .team-section > h2 {
    margin-bottom: 62px;
  }

  .team-grid {
    width: min(100% - 100px, 1100px);
    column-gap: 55px;
    row-gap: 50px;
  }

  .portrait-frame {
    width: 190px;
    height: 190px;
    margin-bottom: 17px;
  }

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

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

  .contact,
  .contact-inner {
    min-height: 195px;
  }

  .contact h2 {
    font-size: 50px;
  }

  .contact address {
    font-size: 16px;
  }

  .legal {
    min-height: 96px;
    padding: 20px;
    font-size: 12px;
  }
}

@media (max-width: 1280px) {
  :root {
    --header-height: 78px;
  }

  .header-inner {
    width: min(100% - 48px, 1000px);
  }

  .main-nav {
    gap: 30px;
    margin-right: 0;
  }

  .glance-copy-inner {
    width: calc(100% - 48px);
    padding-right: 20px;
  }

  .glance p {
    font-size: 15px;
  }

  .desktop-break {
    display: none;
  }

  .services-grid {
    width: min(100% - 72px, 900px);
    gap: 70px;
  }

  .office-cards {
    gap: 36px;
  }

  .team-grid {
    width: min(100% - 72px, 900px);
    grid-template-columns: repeat(4, 1fr);
    column-gap: 30px;
    row-gap: 44px;
  }

  .site-header {
    height: 78px;
  }

  .brand img {
    width: 124px;
    height: auto;
  }

  .main-nav a {
    font-size: 14px;
  }

  .glance {
    min-height: 350px;
  }

  .glance h1 {
    margin-bottom: 16px;
    font-size: 28px;
  }

  .glance p {
    font-size: 14px;
  }

  .glance p + p {
    margin-top: 20px;
  }

  .glance-image {
    height: 350px;
  }

  .metrics {
    height: 160px;
  }

  .metric strong {
    font-size: 44px;
  }

  .metric span {
    font-size: 14px;
  }

  .section-heading {
    height: 112px;
  }

  .section-heading h2,
  .offices-section > h2,
  .team-section > h2 {
    font-size: 24px;
  }

  .services-panel {
    min-height: 500px;
  }

  .services-grid {
    padding: 45px 0 40px;
  }

  .services-grid h3 {
    margin-bottom: 28px;
    font-size: 22px;
  }

  .services-grid li {
    min-height: 40px;
    padding: 2px 0 14px 38px;
    font-size: 14px;
  }

  .services-grid li::before {
    width: 18px;
    height: 18px;
  }

  .offices-section {
    padding: 90px 0 105px;
  }

  .map-figure {
    width: min(760px, calc(100% - 60px));
  }

  .office-cards {
    width: min(100% - 60px, 960px);
    margin-top: 40px;
    gap: 50px;
  }

  .office-card h3 {
    height: 58px;
    font-size: 14px;
  }

  .team-section {
    padding: 2px 0 100px;
  }

  .team-section > h2 {
    margin-bottom: 55px;
  }

  .portrait-frame {
    width: 160px;
    height: 160px;
    margin-bottom: 16px;
  }

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

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

  .contact,
  .contact-inner {
    min-height: 165px;
  }

  .contact h2 {
    font-size: 42px;
  }

  .contact address {
    font-size: 14px;
  }

  .legal {
    min-height: 90px;
    padding: 20px;
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 60px;
  }

  .site-header {
    height: 60px;
  }

  .header-inner {
    width: min(100% - 40px, 984px);
  }

  .brand img {
    width: 94px;
    height: auto;
  }

  .main-nav {
    gap: 26px;
  }

  .main-nav a {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .glance {
    min-height: 265px;
  }

  .glance-copy-inner {
    width: calc(100% - 40px);
    padding-right: 24px;
  }

  .glance h1 {
    margin-bottom: 12px;
    font-size: 20px;
    letter-spacing: 2px;
  }

  .glance p {
    font-size: 12px;
    line-height: 1.75;
    letter-spacing: .7px;
  }

  .glance p + p {
    margin-top: 14px;
  }

  .glance-image {
    height: 265px;
  }

  .metrics {
    height: auto;
  }

  .metrics-inner {
    width: 100%;
    padding: 24px 50px;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
  }

  .metric strong {
    font-size: 32px;
  }

  .metric span {
    font-size: 12px;
  }

  .section-heading {
    height: 86px;
  }

  .section-heading h2,
  .offices-section > h2,
  .team-section > h2 {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .services-panel {
    min-height: 380px;
  }

  .services-grid {
    width: min(100% - 60px, 670px);
    padding: 35px 0 30px;
    gap: 60px;
  }

  .services-grid h3 {
    margin-bottom: 22px;
    font-size: 16px;
    letter-spacing: 1px;
  }

  .services-grid li {
    min-height: 30px;
    padding: 2px 0 10px 26px;
    font-size: 12px;
    letter-spacing: .5px;
  }

  .services-grid li::before {
    width: 14px;
    height: 14px;
  }

  .offices-section {
    padding: 70px 0 82px;
  }

  .offices-section > h2 {
    margin-bottom: 10px;
  }

  .map-figure {
    width: min(574px, calc(100% - 40px));
  }

  .office-cards {
    width: auto;
    margin-top: 30px;
    grid-template-columns: repeat(3, 214px);
    justify-content: center;
    gap: 44px;
  }

  .office-card {
    width: 214px;
  }

  .office-card h3 {
    height: 43px;
    font-size: 12px;
  }

  .team-section {
    padding: 2px 0 74px;
  }

  .team-section > h2 {
    margin-bottom: 43px;
  }

  .team-grid {
    width: min(100% - 60px, 680px);
    grid-template-columns: repeat(4, 1fr);
    column-gap: 40px;
    row-gap: 35px;
  }

  .portrait-frame {
    width: 120px;
    height: 120px;
    margin-bottom: 12px;
  }

  .team-member h3,
  .team-member p {
    font-size: 12px;
  }

  .team-member p {
    margin-top: 4px;
  }

  .contact,
  .contact-inner {
    min-height: 124px;
  }

  .contact-inner {
    width: min(100% - 50px, 720px);
  }

  .contact h2 {
    font-size: 32px;
  }

  .contact address {
    width: 220px;
    font-size: 12px;
  }

  .legal {
    min-height: 76px;
    padding: 16px 18px;
    font-size: 12px;
    line-height: 1.7;
    letter-spacing: 1px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  body {
    font-size: 15px;
    letter-spacing: .6px;
  }

  .site-header {
    height: auto;
  }

  .header-inner {
    width: 100%;
    min-height: 86px;
    padding: 18px 20px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    width: 150px;
    height: auto;
  }

  .main-nav {
    width: 100%;
    height: 48px;
    margin-top: 9px;
    justify-content: space-between;
    gap: 15px;
    overflow-x: auto;
  }

  .main-nav a {
    flex: 0 0 auto;
    font-size: 13px;
    letter-spacing: .5px;
  }

  .glance {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .glance-copy {
    min-height: 410px;
    justify-content: flex-start;
  }

  .glance-copy-inner {
    width: 100%;
    padding: 52px 26px;
  }

  .glance h1 {
    font-size: 34px;
  }

  .glance p {
    font-size: 15px;
    line-height: 1.75;
  }

  .glance p + p {
    margin-top: 20px;
  }

  .glance-image {
    height: auto;
    aspect-ratio: 959 / 497;
  }

  .metrics {
    height: auto;
  }

  .metrics-inner {
    width: 100%;
    padding: 32px 20px;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }

  .metric strong {
    font-size: 42px;
  }

  .metric span {
    font-size: 15px;
  }

  .section-heading {
    height: 120px;
  }

  .section-heading h2,
  .offices-section > h2,
  .team-section > h2 {
    font-size: 29px;
  }

  .services-panel {
    min-height: 0;
  }

  .services-grid {
    width: 100%;
    padding: 52px 26px 45px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-grid h3 {
    margin-bottom: 30px;
    font-size: 25px;
  }

  .services-grid li {
    min-height: 50px;
    padding-left: 40px;
    font-size: 15px;
  }

  .services-grid li::before {
    width: 21px;
    height: 21px;
  }

  .offices-section {
    padding: 80px 0 100px;
  }

  .offices-section > h2 {
    margin-bottom: 30px;
  }

  .map-figure {
    width: calc(100% - 24px);
  }

  .office-cards {
    width: calc(100% - 52px);
    margin-top: 36px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .office-card h3 {
    height: 66px;
  }

  .team-section {
    padding: 0 0 95px;
  }

  .team-section > h2 {
    margin-bottom: 55px;
  }

  .team-grid {
    width: calc(100% - 44px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 55px;
  }

  .portrait-frame {
    width: min(100%, 224px);
    height: auto;
    aspect-ratio: 1;
    margin-bottom: 15px;
  }

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

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

  .contact-inner {
    width: calc(100% - 52px);
    padding: 42px 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact::before {
    width: 100%;
  }

  .contact h2 {
    font-size: 46px;
  }

  .contact address {
    justify-self: start;
    width: auto;
    font-size: 15px;
  }

  .legal {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }

  .back-to-top span {
    top: 17px;
    left: 15px;
    width: 12px;
    height: 12px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    height: 60px;
  }

  .header-inner {
    width: calc(100% - 32px);
    height: 100%;
    min-height: 0;
    padding: 0;
    flex-direction: row;
    align-items: center;
  }

  .brand img {
    width: 86px;
  }

  .main-nav {
    width: auto;
    height: 100%;
    margin-top: 0;
    justify-content: flex-end;
    gap: 16px;
    overflow: visible;
  }

  .main-nav a {
    font-size: 12px;
  }

  .glance-copy {
    min-height: 280px;
  }

  .glance-copy-inner {
    padding: 38px 30px;
  }

  .glance h1 {
    margin-bottom: 11px;
    font-size: 20px;
  }

  .glance p {
    font-size: 12px;
  }

  .glance p + p {
    margin-top: 12px;
  }

  .glance-image {
    height: 210px;
    aspect-ratio: auto;
  }

  .metrics-inner {
    padding: 22px 20px;
    gap: 18px 15px;
  }

  .metric strong {
    font-size: 30px;
  }

  .metric span {
    font-size: 12px;
  }

  .section-heading {
    height: 74px;
  }

  .section-heading h2,
  .offices-section > h2,
  .team-section > h2 {
    font-size: 16px;
  }

  .services-grid {
    padding: 38px 40px 34px;
    gap: 28px;
  }

  .services-grid h3 {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .services-grid li {
    min-height: 28px;
    padding: 2px 0 9px 24px;
    font-size: 12px;
  }

  .services-grid li::before {
    width: 14px;
    height: 14px;
  }

  .offices-section {
    padding: 55px 0 70px;
  }

  .offices-section > h2 {
    margin-bottom: 18px;
  }

  .map-figure {
    width: min(480px, calc(100% - 30px));
  }

  .office-cards {
    width: 100%;
    margin-top: 28px;
    grid-template-columns: repeat(3, minmax(0, 180px));
    justify-content: center;
    gap: 20px;
  }

  .office-card {
    width: auto;
  }

  .office-card h3 {
    height: 38px;
    font-size: 12px;
  }

  .team-section {
    padding: 0 0 60px;
  }

  .team-section > h2 {
    margin-bottom: 34px;
  }

  .team-grid {
    width: min(100% - 40px, 560px);
    grid-template-columns: repeat(4, 1fr);
    column-gap: 25px;
    row-gap: 22px;
  }

  .portrait-frame {
    width: 100px;
    height: 100px;
    aspect-ratio: 1;
    margin-bottom: 10px;
  }

  .team-member h3,
  .team-member p {
    font-size: 12px;
  }

  .contact-inner {
    width: calc(100% - 48px);
    min-height: 124px;
    padding: 0;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .contact h2 {
    font-size: 30px;
  }

  .contact address {
    justify-self: end;
    width: auto;
    font-size: 12px;
  }

  .legal {
    min-height: 70px;
    padding: 14px 16px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 86px;
  }

  .site-header {
    height: auto;
  }

  .header-inner {
    width: 100%;
    min-height: 86px;
    padding: 12px 16px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    width: 80px;
  }
  .brand-container {
    width: 100%;
  }
  .brand-container .brand-2 {
    display: block;
  }

  .main-nav {
    width: 100%;
    height: 38px;
    margin-top: 7px;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
  }

  .main-nav .brand {
    display: none;
  }

  .main-nav a {
    font-size: 11px;
  }

  .glance-copy {
    min-height: 260px;
  }

  .glance-copy-inner {
    padding: 34px 22px;
  }

  .glance h1 {
    font-size: 18px;
  }

  .glance p {
    font-size: 12px;
  }

  .glance-image {
    height: 180px;
  }

  .metrics-inner {
    padding: 20px 14px;
    gap: 16px 10px;
  }

  .metric strong {
    font-size: 28px;
  }

  .metric span {
    font-size: 11px;
  }

  .section-heading {
    height: 68px;
  }

  .section-heading h2,
  .offices-section > h2,
  .team-section > h2 {
    font-size: 15px;
  }

  .services-grid {
    padding: 34px 24px 30px;
  }

  .services-grid h3 {
    font-size: 15px;
  }

  .services-grid li {
    font-size: 12px;
  }

  .services-grid li::before {
    width: 11px;
    height: 11px;
  }

  .map-figure {
    width: min(400px, calc(100% - 20px));
  }

  .office-cards {
    width: 214px;
    grid-template-columns: 214px;
    gap: 24px;
  }

  .office-card {
    width: 214px;
  }

  .team-grid {
    width: calc(100% - 30px);
    grid-template-columns: repeat(2, 1fr);
    column-gap: 12px;
    row-gap: 30px;
  }

  .portrait-frame {
    width: min(100%, 100px);
    height: auto;
  }

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

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

  .contact,
  .contact-inner {
    min-height: 0;
  }

  .contact-inner {
    width: calc(100% - 40px);
    padding: 28px 0;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact h2 {
    font-size: 28px;
  }

  .contact address {
    justify-self: start;
    font-size: 12px;
  }

  .legal {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  .back-to-top,
  .portrait-frame img {
    transition: none;
  }
}
