:root {
  --ink: #17242d;
  --ink-soft: #4d5e68;
  --navy: #081d2c;
  --navy-light: #12364a;
  --cyan: #18a8c7;
  --cyan-deep: #087b96;
  --orange: #c65b34;
  --green: #4e7965;
  --line: #d8e0e4;
  --surface: #f3f6f7;
  --warm: #fff4ee;
  --white: #ffffff;
  --container: 1180px;
  --shadow: 0 14px 36px rgba(7, 29, 44, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.28;
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-size: 32px;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #f0a542;
  outline-offset: 3px;
}

.utility-bar {
  color: #d9e8ec;
  background: var(--navy);
  font-size: 13px;
}

.utility-bar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-bar p {
  margin: 0;
}

.utility-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.utility-contact a {
  text-decoration: none;
}

.utility-contact a:hover {
  color: var(--white);
  text-decoration: underline;
}

.utility-contact span {
  width: 1px;
  height: 12px;
  background: #537080;
}

.main-nav-wrap {
  position: relative;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid rgba(216, 224, 228, 0.82);
}

.main-nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand img {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border: 1px solid #c5d3da;
  border-radius: 4px;
}

.brand__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__text strong {
  color: var(--navy);
  font-size: 23px;
}

.brand__text small {
  margin-top: 5px;
  color: #697b85;
  font-size: 10px;
  font-weight: 700;
}

.primary-nav ul {
  display: flex;
  align-items: stretch;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  min-width: 108px;
  height: 84px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #30434e;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 22px;
  bottom: 0;
  left: 22px;
  height: 3px;
  background: transparent;
  content: "";
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--cyan-deep);
}

.primary-nav a.is-active::after {
  background: var(--cyan);
}

.nav-toggle {
  width: 46px;
  height: 46px;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #cbd7dc;
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle__icon {
  position: relative;
}

.nav-toggle__icon::before {
  position: absolute;
  top: -6px;
}

.nav-toggle__icon::after {
  position: absolute;
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.page-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.page-hero__media,
.page-hero__shade {
  position: absolute;
  inset: 0;
}

.page-hero__media {
  background-image: url("../images/hero-brand.jpg");
  background-position: center 52%;
  background-size: cover;
  transform: scale(1.01);
}

.page-hero--services .page-hero__media {
  background-position: center 58%;
}

.page-hero--contact .page-hero__media {
  background-position: center 64%;
}

.page-hero__shade {
  background: rgba(5, 21, 33, 0.76);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding-block: 80px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 13px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

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

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: var(--orange);
  content: "";
}

.page-hero h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: 46px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.24);
}

.page-hero__lead {
  max-width: 760px;
  margin-bottom: 0;
  color: #e4edf0;
  font-size: 20px;
  line-height: 1.8;
}

.section {
  padding-block: 86px;
}

.section--muted {
  background: var(--surface);
}

.section--compact {
  padding-block: 62px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 38px;
}

.section-heading--wide {
  max-width: 790px;
}

.section-heading--side {
  margin-bottom: 0;
}

.section-heading > p:last-child {
  color: var(--ink-soft);
}

.section-kicker {
  color: var(--cyan-deep);
}

.intro-layout,
.principle-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.5fr);
  gap: 90px;
  align-items: start;
}

.prose {
  color: #344852;
}

.prose--large {
  font-size: 17px;
  line-height: 2;
}

.prose p {
  margin-bottom: 20px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.focus-item {
  min-height: 266px;
  padding: 30px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--cyan);
  border-radius: 4px;
}

.focus-item:nth-child(2) {
  border-top-color: var(--orange);
}

.focus-item:nth-child(3) {
  border-top-color: var(--green);
}

.focus-item:nth-child(4) {
  border-top-color: var(--navy-light);
}

.item-number {
  display: block;
  margin-bottom: 28px;
  color: var(--cyan-deep);
  font-size: 13px;
  font-weight: 800;
}

.focus-item p,
.principle-list p,
.service-item p,
.process-list p {
  color: var(--ink-soft);
}

.principle-list {
  border-top: 1px solid var(--line);
}

.principle-list article {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}

.principle-list article > span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.principle-list h3,
.principle-list p {
  margin-bottom: 4px;
}

.contact-band {
  color: var(--white);
  background: var(--navy-light);
  border-left: 8px solid var(--orange);
}

.contact-band__inner {
  min-height: 240px;
  padding-block: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contact-band h2 {
  margin-bottom: 10px;
}

.contact-band p:last-child {
  color: #cbdde4;
}

.button {
  min-height: 48px;
  padding: 11px 24px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--cyan-deep);
  border: 1px solid var(--cyan-deep);
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: #06697f;
  border-color: #06697f;
}

.button--light {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.button--light:hover {
  color: var(--white);
  background: var(--cyan-deep);
  border-color: var(--cyan-deep);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 90px;
  border-bottom: 1px solid var(--line);
}

.service-item__heading .item-number {
  margin-bottom: 18px;
}

.service-item__heading h3 {
  margin-bottom: 14px;
  font-size: 26px;
}

.service-item ul {
  padding: 0;
  margin: 4px 0 0;
  list-style: none;
}

.service-item li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid #e6ebed;
}

.service-item li::before {
  position: absolute;
  top: 21px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  content: "";
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 3px solid var(--navy-light);
  border-bottom: 1px solid var(--line);
}

.process-list li {
  min-height: 245px;
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list span {
  display: block;
  margin-bottom: 34px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.notice-panel {
  padding: 34px 38px;
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  gap: 50px;
  align-items: center;
  background: #edf6f7;
  border-left: 5px solid var(--cyan-deep);
}

.notice-panel--warm {
  background: var(--warm);
  border-left-color: var(--orange);
}

.notice-panel h2,
.notice-panel .section-kicker {
  margin-bottom: 7px;
}

.notice-panel > p {
  color: #40535d;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 90px;
  align-items: start;
}

.contact-note {
  max-width: 480px;
  color: var(--ink-soft);
}

.contact-details {
  margin: 0;
  font-style: normal;
  border-top: 3px solid var(--navy-light);
  box-shadow: var(--shadow);
}

.contact-detail {
  min-height: 94px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-top: 0;
}

.contact-detail__label {
  color: var(--ink-soft);
  font-size: 14px;
}

.contact-detail strong,
.contact-detail a {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.address-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.address-index {
  height: 180px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy-light);
  border-bottom: 8px solid var(--orange);
  font-size: 48px;
  font-weight: 800;
}

.address-layout address {
  max-width: 720px;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.65;
}

.address-layout p:last-child {
  color: var(--ink-soft);
}

.not-found {
  min-height: 540px;
  padding-block: 100px;
  display: flex;
  align-items: center;
  background: var(--surface);
  text-align: center;
}

.not-found h1 {
  margin-bottom: 16px;
  font-size: 42px;
}

.not-found p:not(.eyebrow) {
  margin-bottom: 28px;
  color: var(--ink-soft);
}

.not-found .eyebrow {
  justify-content: center;
}

.not-found .eyebrow::before {
  display: none;
}

.site-footer {
  color: #cbd8dd;
  background: #061621;
}

.footer-main {
  padding-block: 54px;
  display: grid;
  grid-template-columns: 1.25fr 0.55fr 1fr;
  gap: 60px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 16px;
}

.footer-brand img {
  flex: 0 0 auto;
  border: 1px solid #34505f;
  border-radius: 4px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  line-height: 1.5;
}

.footer-brand p {
  color: #8fa5af;
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-nav a,
.footer-contact a {
  text-decoration: none;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-legal a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #aebfc6;
  font-size: 14px;
  font-style: normal;
}

.footer-legal {
  border-top: 1px solid #203440;
}

.footer-legal__inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #8fa3ad;
  font-size: 13px;
}

.footer-registrations {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 16px;
}

.footer-registration {
  min-width: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.footer-registration[hidden] {
  display: none;
}

.footer-legal a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .focus-item {
    min-height: 230px;
  }

  .intro-layout,
  .principle-layout,
  .contact-layout {
    gap: 52px;
  }

  .service-item {
    gap: 52px;
  }

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

  .process-list li:nth-child(3) {
    border-right: 0;
  }

  .process-list li:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .footer-main {
    grid-template-columns: 1fr 0.45fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  h2 {
    font-size: 27px;
  }

  .utility-bar__inner {
    min-height: 36px;
  }

  .utility-bar p {
    display: none;
  }

  .utility-contact {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
  }

  .main-nav {
    min-height: 74px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand__text strong {
    font-size: 20px;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .js .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(7, 29, 44, 0.16);
  }

  .js .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    width: min(calc(100% - 32px), var(--container));
    margin-inline: auto;
    display: block;
    padding-block: 8px;
  }

  .primary-nav a {
    min-width: 0;
    height: 54px;
    justify-content: flex-start;
    padding-inline: 4px;
    border-bottom: 1px solid #e8edef;
  }

  .primary-nav li:last-child a {
    border-bottom: 0;
  }

  .primary-nav a::after {
    top: 13px;
    right: auto;
    bottom: 13px;
    left: -16px;
    width: 3px;
    height: auto;
  }

  .page-hero {
    min-height: 370px;
  }

  .page-hero__content {
    padding-block: 58px;
  }

  .page-hero h1 {
    margin-bottom: 18px;
    font-size: 31px;
  }

  .page-hero__lead {
    font-size: 17px;
    line-height: 1.75;
  }

  .section {
    padding-block: 62px;
  }

  .section--compact {
    padding-block: 44px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading--side {
    margin-bottom: 24px;
  }

  .intro-layout,
  .principle-layout,
  .contact-layout,
  .service-item,
  .notice-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .focus-item {
    min-height: 0;
  }

  .service-item {
    padding-block: 38px;
  }

  .service-item__heading h3 {
    font-size: 23px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:nth-child(3) {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .process-list li:first-child {
    border-top: 0;
  }

  .process-list span {
    margin-bottom: 18px;
  }

  .notice-panel {
    padding: 28px 24px;
  }

  .contact-detail {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-detail strong,
  .contact-detail a {
    font-size: 18px;
  }

  .address-layout {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .address-index {
    height: 96px;
    font-size: 28px;
    border-bottom-width: 5px;
  }

  .address-layout address {
    font-size: 18px;
  }

  .contact-band {
    border-left-width: 5px;
  }

  .contact-band__inner {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-legal__inner {
    padding-block: 16px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
  }

  .footer-registrations {
    justify-content: flex-start;
  }
}

@media (max-width: 390px) {
  .utility-contact a:last-child {
    max-width: 154px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand__text small {
    display: none;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .address-layout {
    grid-template-columns: 1fr;
  }

  .address-index {
    width: 82px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Nested columns and collection-list blocks */

.primary-nav li {
  position: relative;
}

.primary-nav > ul > li > span {
  min-width: 108px;
  height: 84px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #30434e;
  font-weight: 600;
}

.primary-nav .primary-nav__children {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  width: 210px;
  display: none;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(7, 29, 44, 0.16);
}

.primary-nav li:hover > .primary-nav__children,
.primary-nav li:focus-within > .primary-nav__children {
  display: block;
}

.primary-nav .primary-nav__children a,
.primary-nav .primary-nav__children li > span {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 44px;
  padding: 9px 12px;
  justify-content: flex-start;
  border-radius: 3px;
}

.primary-nav .primary-nav__children a::after {
  display: none;
}

.primary-nav .primary-nav__children a:hover,
.primary-nav .primary-nav__children a.is-active {
  background: var(--surface);
}

.collection-list {
  border-top: 3px solid var(--navy-light);
}

.collection-item {
  min-height: 116px;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 22px 18px;
  border-bottom: 1px solid var(--line);
}

.collection-item time {
  color: var(--cyan-deep);
  font-size: 13px;
  font-weight: 800;
}

.collection-item h3 {
  margin-bottom: 5px;
  font-size: 20px;
}

.collection-item h3 a {
  color: inherit;
  text-decoration: none;
}

.collection-item h3 a:hover {
  color: var(--cyan-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.collection-item p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.collection-item__link {
  min-width: 54px;
  color: var(--cyan-deep);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  text-decoration: none;
}

.collection-item__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.collection-empty {
  padding: 34px 0;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-template--compact .page-hero {
  min-height: 360px;
}

.page-template--compact .page-hero__content {
  padding-block: 62px;
}

.page-template--compact .section {
  padding-block: 62px;
}

.page-template--compact .section--compact {
  padding-block: 44px;
}

@media (max-width: 760px) {
  .primary-nav .primary-nav__children {
    position: static;
    width: 100%;
    display: block;
    padding: 0 0 6px 18px;
    border: 0;
    box-shadow: none;
  }

  .primary-nav > ul > li > span {
    min-width: 0;
    height: 48px;
    justify-content: flex-start;
    padding-inline: 4px;
    color: var(--ink-soft);
  }

  .primary-nav .primary-nav__children a,
  .primary-nav .primary-nav__children li > span {
    min-height: 46px;
    padding-inline: 8px;
  }

  .collection-item {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    padding: 20px 4px;
  }

  .collection-item time {
    grid-column: 1 / -1;
  }

  .collection-item h3 {
    font-size: 18px;
  }
}
