@font-face {
  font-family: GenSource;
  src: url(../identity/assets/fonts/sans.woff2) format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: GenRoman;
  src: url(../identity/assets/fonts/roman.woff2) format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --web-navy: #172b52;
  --web-ivory: #f8f5e9;
  --web-gold: #d6b671;
  --web-brass: #826437;
  --web-rule: #d4d0c3;
  --web-soft: #efeee7;
  --web-serif: GenRoman,Georgia,"Songti SC","Noto Serif CJK SC","SimSun",serif;
  --web-sans: GenSource,"PingFang SC","Noto Sans CJK SC","Microsoft YaHei",sans-serif;
  --ink: #172b52;
  --ink-2: #1e3558;
  --ink-3: #294367;
  --gold: #e4c387;
  --paper-2: #f6f5ef;
  --paper-3: #eceae1;
  --font-body: var(--web-sans);
  --font-display: var(--web-sans);
  --text-light: #172b52;
  --text-light-muted: #47536a;
  --text-dark-muted: #d0d6e0;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--web-sans);
}

a:focus-visible,summary:focus-visible,button:focus-visible,input:focus-visible {
  outline: 3px solid #6889b8;
  outline-offset: 4px;
}

.web-head {
  background: var(--web-navy);
  color: var(--web-ivory);
  border-bottom: 1px solid #ffffff35;
  position: sticky;
  top: 0;
  z-index: 64;
}

.web-mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 24px;
}

.web-id {
  display: block;
  flex: none;
}

.web-id img {
  width: clamp(180px,17vw,212px);
  display: block;
  height: auto;
}

.web-primary,.web-tools {
  display: flex;
  align-items: center;
  gap: clamp(16px,2vw,31px);
  font-size: 15px;
}

.web-primary a,.web-tools>a,.web-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.verify-short {
  display: none;
}

.web-primary {
  margin-left: auto;
}

.web-tools {
  gap: 15px;
}

.web-head a,.web-footer a {
  text-decoration: none;
}

.web-head a:hover,.web-head a[aria-current],.web-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.web-verify {
  color: var(--web-gold);
  white-space: nowrap;
}

.web-tools>a:last-of-type {
  border-left: 1px solid #ffffff4d;
  padding-left: 15px;
}

.web-menu {
  display: none;
}

.web-menu summary {
  cursor: pointer;
  list-style: none;
}

.web-menu summary::-webkit-details-marker {
  display: none;
}

.web-menu nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
  max-height: calc(100dvh - 75px);
  overflow: auto;
  background: var(--web-navy);
  padding: 10px var(--pad-x) 21px;
  border-bottom: 2px solid var(--web-gold);
  box-shadow: 0 8px 14px #121e3324;
}

.web-menu:not([open]) nav {
  display: none;
}

.web-menu nav a {
  border-top: 1px solid #ffffff35;
  padding: 10px 0;
  min-height: 44px;
}

.web-menu summary:after {
  content: " +";
  color: var(--web-gold);
}

.web-menu[open] summary:after {
  content: " −";
}

.home-opening {
  background: var(--web-navy);
  color: var(--web-ivory);
}

.home-layout,.record-grid,.next-grid,.archive-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 8%;
  align-items: center;
}

.home-layout {
  padding-block: clamp(36px,4.3vw,68px);
  grid-template-columns: minmax(0,1.55fr) minmax(0,1fr);
}

.web-eyebrow {
  font: 650 12px/1.4 var(--web-sans);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--web-brass);
  margin: 0 0 12px;
}

.home-opening .web-eyebrow,.home-record .web-eyebrow {
  color: var(--web-gold);
}

.home-opening h1 {
  font: 520 clamp(59px,6.8vw,102px)/.93 var(--web-serif);
  letter-spacing: -.05em;
  margin: 0 0 24px;
}

.home-deck,.home-record p:not(.web-eyebrow),.home-next p:not(.web-eyebrow) {
  font-size: clamp(16px,1.55vw,21px);
  line-height: 1.58;
  max-width: 39em;
  margin: 0;
}

.home-deck,.home-record p:not(.web-eyebrow) {
  color: #e1e4e9;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
  align-items: center;
  margin-top: 23px;
}

.web-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px 16px;
  font: 600 15px/1.55 var(--web-sans);
  text-decoration: none;
  background: var(--web-ivory);
  color: var(--web-navy);
}

.web-button:hover,.web-link,.section-tail a,.next-grid article>a,.home-record .home-actions a:not(.web-button),.archive-grid a,.directory a,.brand-source a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.certificate-preview {
  width: clamp(190px,19vw,259px);
  justify-self: center;
  color: var(--web-ivory);
}

.certificate-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.certificate-preview>span {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding-top: 11px;
  font-size: 14px;
}

.certificate-preview strong {
  font-weight: 550;
}

.certificate-preview small {
  white-space: nowrap;
  font: 500 12px/1.5 var(--web-sans);
  color: var(--web-gold);
}

.certificate-preview:hover strong,.registry-archive:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.home-rounds,.home-next,.directory {
  background: #faf9f4;
  color: var(--web-navy);
}

.home-rounds>.container,.home-record>.container,.home-next>.container,.directory>.container {
  padding-block: clamp(42px,5vw,74px);
}

.web-section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: end;
  margin-bottom: 22px;
}

.web-section-head h2,.home-record h2,.home-next h2 {
  font: 575 clamp(34px,4.1vw,62px)/1.06 var(--web-serif);
  margin: 0;
  letter-spacing: -.035em;
}

.web-section-head>p,.round-item p,.next-grid p,.archive-grid p,.contact-line p,.directory-note {
  color: #485468;
}

.web-section-head>p {
  margin: 0;
  max-width: 40em;
}

.round-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 6%;
}

.round-item {
  border-top: 1px solid var(--web-rule);
  padding: 17px 0 20px;
  display: grid;
  grid-template-columns: 2.2em 1fr auto;
  gap: 12px;
  align-items: start;
}

.round-item:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.round-num {
  font: 560 24px/1 var(--web-serif);
  color: var(--web-brass);
}

.round-item small {
  font: 620 12px/1.2 var(--web-sans);
  letter-spacing: .05em;
}

.round-item h3 {
  font: 580 clamp(23px,2.3vw,33px)/1.16 var(--web-serif);
  margin: 2px 0 5px;
}

.round-item p,.section-tail {
  margin: 0;
  font-size: 15px;
}

.round-item b {
  font-weight: 500;
}

.section-tail {
  border-top: 1px solid var(--web-rule);
  padding-top: 16px;
}

.home-record {
  background: #233959;
  color: var(--web-ivory);
}

.record-grid {
  grid-template-columns: minmax(140px,.75fr) minmax(0,1.25fr);
}

.registry-seal {
  justify-self: center;
  width: clamp(150px,17vw,224px);
  height: auto;
}

.registry-search {
  margin: 22px 0 15px;
  max-width: 26rem;
}

.registry-search label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.registry-search>div {
  display: flex;
  gap: 8px;
}

.registry-search input {
  flex: 1;
  min-width: 0;
  border: 1px solid #c2cad3;
  border-radius: 0;
  padding: 8px 11px;
  font: 500 18px/1.4 var(--web-sans);
  color: var(--web-navy);
  background: #fff;
}

.registry-search button {
  border: 0;
  min-height: 44px;
  white-space: nowrap;
}

.registry-archive {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  gap: .4em;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.home-record h2,.next-grid h2 {
  margin-bottom: 14px;
}

.next-grid,.archive-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.next-grid article>a {
  display: inline-block;
  margin-top: 14px;
}

.next-grid article+article {
  border-left: 1px solid var(--web-rule);
  padding-left: 10%;
}

.home-next p:not(.web-eyebrow) {
  font-size: 16px;
}

.page-opening .gn-hero__lede,.section .gn-hero__lede {
  max-width: 53ch;
  line-height: 1.65;
}

.page-opening h1,.section--ink>div>.display--lg {
  font-family: var(--web-serif);
  font-size: clamp(42px,5.8vw,82px);
  font-weight: 570;
  line-height: 1.07;
  letter-spacing: -.032em;
}

.page-opening h1 {
  margin: 11px 0 17px;
}

.page-opening .gn-hero__lede {
  margin: 0;
}

.web-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
}

.web-jumps a {
  font-size: 14px;
  color: var(--web-gold);
  text-decoration: underline;
  text-underline-offset: .32em;
  padding: 6px 0;
}

.archive-grid {
  gap: 28px 8%;
}

.archive-grid h2,.contact-line h2 {
  font-size: 21px;
  font-weight: 650;
  line-height: 1.35;
  margin: 0 0 4px;
}

.archive-grid article {
  border-top: 1px solid var(--web-rule);
  padding-top: 15px;
}

.archive-grid p {
  margin: 0 0 10px;
}

.directory:not(:has(.archive-grid))>.container {
  max-width: 1060px;
}

.contact-line {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 25px;
  align-items: center;
  border-bottom: 1px solid var(--web-rule);
  padding: 18px 0;
}

.contact-line>div:last-child {
  text-align: right;
}

.contact-line p,.directory-note {
  margin: 0;
}

.directory-note {
  margin-top: 22px;
}

.contact-line .address,.contact-line a:not(.topic-mail) {
  font-size: 18px;
  font-weight: 600;
}

.contact-line small {
  color: var(--web-brass);
  margin-left: 8px;
  font-size: 12px;
}

.topic-mail {
  display: block;
  font-size: 13px;
}

.brand-source {
  margin: 21px 0 13px;
}

.brand-source img {
  width: clamp(190px,27vw,340px);
  height: auto;
  margin: 0 0 12px;
}

.brand-source a {
  font-size: 14px;
}

.web-footer {
  background: #10213d;
  color: var(--web-ivory);
}

.web-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 5%;
  padding: 48px 0 32px;
}

.web-footer-grid>div>a {
  display: block;
  width: fit-content;
  font-size: 14px;
  margin: 4px 0;
}

.web-footer-grid img {
  width: 193px;
  height: auto;
}

.web-footer-grid h2 {
  color: var(--web-gold);
  font: 630 15px/1.4 var(--web-sans);
  margin: 0 0 8px;
}

.web-footer-grid p,.web-colophon {
  color: #d1d7e1;
  font-size: 14px;
}

.web-colophon {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 22px;
  border-top: 1px solid #ffffff40;
}

.gn-topbar .gn-logo img,.gn-footer__brand>img[src*="web-wordmark"] {
  width: clamp(152px,17vw,202px);
  height: auto;
  max-width: 100%;
}

.gn-cta {
  background: #eeeae0;
  color: var(--web-navy);
}

.gn-cta .web-button {
  background: var(--web-navy);
  color: white;
}

.gn-cta__title {
  font-family: var(--web-serif);
}

.gn-cta__sub {
  color: #42506a;
}

html[lang="zh-CN"] .home-opening h1 {
  font-size: clamp(57px,6.9vw,102px);
  line-height: 1.09;
  letter-spacing: .01em;
}

html[lang="zh-CN"] .web-section-head h2,html[lang="zh-CN"] .home-record h2,html[lang="zh-CN"] .home-next h2 {
  font-size: clamp(31px,3.5vw,51px);
  line-height: 1.15;
}

@media (max-width:970px) {
  .web-primary {
    display: none;
  }

  .web-menu {
    display: block;
  }

  .web-tools {
    margin-left: auto;
  }

  .home-layout {
    gap: 5%;
  }

  .web-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width:650px) {
  html {
    scroll-padding-top: 67px;
  }

  .web-mast {
    min-height: 64px;
    gap: 9px;
  }

  .web-id img {
    width: clamp(140px,40vw,179px);
  }

  .web-tools {
    gap: 10px;
    font-size: 13px;
  }

  .web-tools>a:last-of-type {
    border: 0;
    padding: 0;
  }

  .verify-full {
    display: none;
  }

  .verify-short {
    display: inline;
  }

  .web-menu nav {
    font-size: 15px;
  }

  .home-layout {
    grid-template-columns: minmax(0,1fr);
    gap: 23px;
    padding-block: 31px 23px;
  }

  .home-layout h1 {
    font-size: clamp(47px,11vw,70px);
    margin-bottom: 15px;
  }

  html[lang="zh-CN"] .home-opening h1 {
    font-size: clamp(42px,10.8vw,66px);
  }

  html[lang="zh-CN"] .home-opening h1 br {
    display: none;
  }

  .home-actions {
    gap: 12px 20px;
    margin-top: 17px;
  }

  .web-button,.web-link {
    font-size: 15px;
  }

  .certificate-preview {
    width: 100%;
    justify-self: start;
    border-top: 1px solid #ffffff3d;
    padding-top: 16px;
    display: grid;
    grid-template-columns: 66px 1fr;
    align-items: center;
    gap: 15px;
  }

  .certificate-preview>span {
    align-items: start;
    flex-direction: column;
    gap: 3px;
    padding: 0;
  }

  .web-section-head,.round-grid,.next-grid,.archive-grid,.contact-line {
    grid-template-columns: 1fr;
  }

  .web-section-head {
    gap: 12px;
    margin-bottom: 16px;
  }

  .round-item {
    padding: 13px 0;
    grid-template-columns: 1.8em 1fr auto;
  }

  .record-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .registry-seal {
    display: none;
  }

  .next-grid,.archive-grid {
    gap: 24px;
  }

  .next-grid article+article {
    border-left: 0;
    border-top: 1px solid var(--web-rule);
    padding: 20px 0 0;
  }

  .contact-line {
    gap: 6px;
  }

  .contact-line>div:last-child {
    text-align: left;
  }

  .web-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
    padding: 28px 0 21px;
  }

  .web-footer-grid>div:first-child {
    grid-column: 1/-1;
  }

  .web-colophon {
    flex-wrap: wrap;
  }

  .web-footer-grid img {
    width: 172px;
  }

  .section-tail a {
    display: inline-block;
  }

  .page-opening h1,.section--ink>div>.display--lg {
    font-size: clamp(35px,8vw,50px);
  }
}

@media print {
  .web-head,.web-footer,.web-tools,.web-jumps {
    display: none;
  }

  .certificate-preview {
    display: none;
  }

  .home-opening,.home-record {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

