/* Edition 9: original HDN identity and a more comfortable reading experience. */
html {
  scrollbar-gutter: stable;
}
.brand__mark--original {
  width: 78px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand__mark--original img {
  width: 90px;
  height: 60px;
  max-width: none;
  object-fit: contain;
}
.brand {
  gap: 4px;
}
.brand__name {
  font-size: 13px;
  letter-spacing: 0.06em;
}
.site-nav a {
  font-size: 12px;
}
.original-wordmark {
  display: block;
  width: 440px;
  max-width: 100%;
}
.original-wordmark img {
  width: 100%;
  height: auto;
}
.hero .original-wordmark {
  width: 440px;
  margin: -40px 0 -29px -33px;
}
.hero__inner {
  padding-top: 30px;
  padding-bottom: 105px;
}
.hero {
  min-height: 850px;
}
.hero__title {
  font-size: clamp(42px, 4vw, 60px);
  line-height: 1.17;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero__eyebrow {
  font-size: 9px;
  margin-bottom: 20px;
}
.hero__lead {
  font-size: 15px;
  max-width: 475px;
  line-height: 1.8;
}
.hero__media {
  background-position: 60% center;
}
.hero__scrim {
  background: linear-gradient(90deg, #081117e8 0%, #08111788 34%, #08111716 70%),
    linear-gradient(0deg, #0b1113, transparent 30%);
}
.hero-access {
  font-size: 11px;
}
.hero-bottom {
  font-size: 10px;
}
.hero .original-wordmark img {
  filter: drop-shadow(0 3px 10px #0009);
}
.footer-brand {
  display: block;
  width: 250px;
  overflow: hidden;
  border-radius: 5px;
}
.footer-brand .original-wordmark {
  width: 250px;
  margin: -25px 0 -24px;
}
.footer-top {
  padding-bottom: 26px;
}
[data-theme="light"] .footer-brand {
  background: #111b20;
}
[data-theme="light"] .brand__mark--original {
  background: #111b20;
  border-radius: 3px;
  margin-right: 7px;
}
.intro-heading {
  gap: clamp(35px, 6vw, 85px);
}
.intro-heading .lead {
  font-size: 15px;
}
.experience {
  padding: 34px;
  transition: background 0.25s;
}
.experience:hover {
  background: var(--surface-2);
}
.feature-symbol {
  height: 43px;
}
.feature-symbol svg {
  width: 27px;
  height: 27px;
}
.experience p {
  font-size: 14px;
  line-height: 1.85;
}
.experience a {
  font-size: 12px;
}
.experience h3 {
  font-size: 22px;
}
.territory {
  min-height: 440px;
  border-radius: 4px;
}
.territory-content {
  padding: 30px;
}
.territory:after {
  background: linear-gradient(0deg, #071217f5 0%, #071217ba 27%, #07121708 75%);
}
.territory .eyebrow {
  font-size: 9px;
}
.territory h3 {
  font-size: 27px;
}
.territory p {
  font-size: 13px;
}
.territory:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
.art-note {
  font-size: 11px;
}
.pact-copy > p:not(.eyebrow) {
  font-size: 15px;
}
.pact-copy .text-link,
.text-link {
  font-size: 12px;
}
.pact-facts span {
  font-size: 11px;
}
.systems-grid h3 {
  font-size: 21px;
}
.systems-grid p {
  font-size: 14px;
  line-height: 1.85;
}
.systems-grid article {
  padding-block: 32px;
}
.system-index {
  font-size: 15px;
}
.development-note {
  font-size: 12px;
  line-height: 1.8;
}
.join-section {
  padding-block: 85px;
}
.join-section p:not(.eyebrow) {
  font-size: 15px;
}
.arrival-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1030px;
  padding: 0;
  margin: 45px auto 40px;
  list-style: none;
  text-align: left;
  background: #081317bf;
  border: 1px solid #c7aa7240;
  backdrop-filter: blur(12px);
}
.arrival-steps li {
  display: flex;
  gap: 18px;
  padding: 28px;
  min-width: 0;
}
.arrival-steps li + li {
  border-left: 1px solid #c7aa7230;
}
.arrival-number {
  font-family: var(--font-display);
  font-size: 18px;
  color: #cbb582;
  padding-top: 1px;
}
.arrival-steps h3 {
  font-size: 17px;
  color: #f2eddf;
  margin: 0 0 10px;
}
.join-section .arrival-steps p {
  font-size: 12px;
  line-height: 1.8;
  color: #bdcbcd;
  margin: 0 0 14px;
}
.arrival-steps a {
  font-size: 11px;
  text-decoration: none;
  color: #dcc99e;
}
.arrival-steps a span {
  margin-left: 10px;
}
.join-note {
  font-size: 10px;
}
.site-footer li {
  font-size: 12px;
}
.site-footer__legal {
  font-size: 10px;
}
.footer-top p {
  font-size: 12px;
}
/* Interior chapters have a slightly narrower measure and larger body text. */
.prose {
  max-width: 790px;
  font-size: 16px;
  line-height: 1.9;
}
.page-hero .lead {
  font-size: 15px;
}
.page-hero__meta {
  font-size: 11px;
}
.doc-section {
  margin-bottom: 65px;
}
.doc-section > h2 {
  font-size: 29px;
}
.doc-section h3 {
  font-size: 23px;
}
.doc-section h4 {
  font-size: 18px;
}
.toc a {
  font-size: 12px;
  padding-block: 12px;
}
.toc a:before {
  top: 14px;
}
.chapter-index summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: 500 10px/1.5 var(--font-body);
  letter-spacing: 0.15em;
  color: var(--gold);
  cursor: pointer;
  text-transform: uppercase;
  margin-bottom: 18px;
  list-style: none;
}
.chapter-index summary::-webkit-details-marker {
  display: none;
}
.chapter-index summary > span {
  font-size: 20px;
  line-height: 1;
  font-weight: 300;
  transition: transform 0.2s;
}
.chapter-index[open] summary > span {
  transform: rotate(45deg);
}
.edition-note {
  font-size: 9px !important;
}
.lore-scene {
  margin-block: 40px 55px;
}
.scene-expand {
  display: block;
  position: relative;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  overflow: hidden;
}
.scene-expand picture {
  border: 0;
}
.scene-expand img {
  transition: transform 0.6s ease, filter 0.6s ease;
}
.scene-expand:hover img {
  transform: scale(1.025);
  filter: brightness(1.08);
}
.scene-expand__hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid #d0d4c850;
  background: #0b161dda;
  color: #efece2;
  font-size: 10px;
  backdrop-filter: blur(10px);
  border-radius: 3px;
}
.scene-expand__hint svg {
  width: 16px;
  height: 16px;
}
.lore-scene figcaption {
  font-size: 12px;
  line-height: 1.75;
}
.lore-scene figcaption span {
  font-size: 10px;
}
.prose .card p {
  font-size: 14px;
}
.notice {
  font-size: 14px;
}
table {
  font-size: 13px;
}
caption {
  font-size: 11px;
}
.story__body > p {
  font-size: 15px;
}
.story__body h2 {
  font-size: 28px;
}
.story .details {
  font-size: 13px;
}
.story__meta .date {
  font-size: 12px;
}
.news-list .story:first-child {
  border-top: 1px solid var(--gold);
}
.news-list .story {
  padding-block: 40px;
}
.scene-open {
  overflow: hidden;
}
.scene-dialog {
  width: min(1320px, calc(100vw - 56px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  padding: 22px 26px 12px;
  background: #0c151b;
  color: #edeae1;
  border: 1px solid #c7aa7259;
  border-radius: 5px;
  box-shadow: 0 25px 100px #0008;
  overflow: auto;
}
.scene-dialog::backdrop {
  background: #03090ded;
  backdrop-filter: blur(12px);
}
.scene-dialog__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 18px;
}
.scene-dialog__toolbar p {
  font: 400 9px/1.5 var(--font-body);
  letter-spacing: 0.2em;
  color: #b9a679;
  margin: 0 0 5px;
}
.scene-dialog__toolbar h2 {
  font-size: 22px;
  color: #eeeadf;
  margin: 0;
}
.scene-dialog button {
  appearance: none;
  border: 1px solid #afbaad40;
  background: transparent;
  color: #e4dcc9;
  min-height: 44px;
  padding: 8px 14px;
  cursor: pointer;
  font: 400 12px var(--font-body);
  border-radius: 3px;
}
.scene-dialog button:hover {
  background: #ffffff0c;
  border-color: #c7aa72;
}
.scene-dialog__close {
  display: flex;
  align-items: center;
  gap: 20px;
}
.scene-dialog__close > span {
  font-size: 23px;
}
.scene-dialog__image {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 255px);
  object-fit: contain;
  background: #080e12;
}
.scene-dialog__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
}
.scene-dialog__bottom button {
  display: flex;
  gap: 13px;
  align-items: center;
}
.scene-dialog__count {
  font-size: 11px;
  letter-spacing: 0.13em;
  color: #cab98f;
}
.scene-dialog__note {
  text-align: center;
  color: #92a7ae;
  font-size: 10px;
  margin: 12px 0 0;
}
@media (max-width: 1100px) {
  .brand__name {
    font-size: 11px;
  }
  .brand__mark--original {
    width: 67px;
  }
  .site-header__inner {
    gap: 18px;
  }
  .arrival-steps li {
    padding: 25px 20px;
    gap: 12px;
  }
  .experience {
    padding: 28px;
  }
  .territory-content {
    padding: 23px;
  }
  .territory h3 {
    font-size: 24px;
  }
  .territory p {
    font-size: 12px;
  }
  .hero {
    min-height: 820px;
  }
}
@media (max-width: 959px) {
  .toc {
    border: 1px solid var(--line);
    padding: 0 20px;
    background: var(--surface);
    border-radius: 4px;
  }
  .chapter-index summary {
    min-height: 57px;
    margin: 0;
  }
  .chapter-index[open] summary {
    margin-bottom: 7px;
  }
  .chapter-index[open] {
    padding-bottom: 14px;
  }
  .toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .toc a {
    font-size: 12px;
  }
  .with-toc {
    gap: 35px;
  }
  .site-nav {
    gap: 16px;
  }
  .site-nav a {
    font-size: 11px;
  }
  .prose {
    max-width: none;
  }
}
@media (max-width: 760px) {
  .brand__mark--original {
    width: 59px;
    height: 48px;
  }
  .brand__mark--original img {
    width: 72px;
    height: 48px;
  }
  .brand__name {
    font-size: 11px;
  }
  .site-header__inner {
    gap: 10px;
  }
  .header-actions {
    margin-left: auto;
  }
  .hero {
    min-height: 795px;
  }
  .hero__inner {
    padding-top: 20px;
    padding-bottom: 96px;
  }
  .hero .original-wordmark {
    width: 380px;
    max-width: calc(100% + 30px);
    margin: -29px 0 -17px -18px;
  }
  .hero__title {
    font-size: clamp(36px, 7vw, 50px);
    margin-bottom: 20px;
  }
  .hero__eyebrow {
    font-size: 8px;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
  }
  .hero__lead {
    font-size: 14px;
    max-width: 450px;
  }
  .hero__scrim {
    background: linear-gradient(90deg, #081117d4, #08111755),
      linear-gradient(0deg, #0b1113, transparent 60%);
  }
  .hero__media {
    background-position: 65% center;
  }
  .hero-bottom {
    font-size: 8px;
  }
  .experience h3 {
    font-size: 22px;
  }
  .experience p {
    font-size: 14px;
  }
  .experience {
    padding: 27px;
  }
  .territory {
    min-height: 365px;
  }
  .territory h3 {
    font-size: 29px;
  }
  .territory p {
    font-size: 13px;
  }
  .territory-content {
    padding: 28px;
  }
  .systems-grid p {
    font-size: 14px;
  }
  .development-note {
    font-size: 12px;
  }
  .arrival-steps {
    grid-template-columns: 1fr;
    margin: 35px 0;
  }
  .arrival-steps li {
    padding: 24px;
    gap: 20px;
  }
  .arrival-steps li + li {
    border-left: 0;
    border-top: 1px solid #c7aa7230;
  }
  .arrival-steps h3 {
    font-size: 19px;
  }
  .join-section .arrival-steps p {
    font-size: 13px;
  }
  .arrival-steps a {
    font-size: 12px;
  }
  .join-section p:not(.eyebrow) {
    font-size: 14px;
  }
  .join-section .arrival-steps p {
    margin-bottom: 10px;
  }
  .footer-top {
    align-items: center;
    flex-direction: row;
  }
  .footer-brand {
    width: 185px;
    flex-shrink: 0;
  }
  .footer-brand .original-wordmark {
    width: 185px;
    margin: -18px 0;
  }
  .footer-top p {
    font-size: 10px;
    text-align: right;
  }
  .prose {
    font-size: 15px;
    line-height: 1.9;
  }
  .doc-section > h2 {
    font-size: 25px;
  }
  .doc-section h3 {
    font-size: 21px;
  }
  .doc-section h4 {
    font-size: 17px;
  }
  .page-hero .lead {
    font-size: 14px;
  }
  .lore-scene figcaption {
    font-size: 12px;
    gap: 5px;
  }
  .scene-expand__hint {
    right: 10px;
    bottom: 10px;
    font-size: 9px;
    padding: 7px 10px;
  }
  .scene-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 24px);
    padding: 15px 12px 12px;
  }
  .scene-dialog__toolbar {
    gap: 10px;
  }
  .scene-dialog__toolbar h2 {
    font-size: 18px;
  }
  .scene-dialog__toolbar p {
    font-size: 8px;
  }
  .scene-dialog__close {
    gap: 10px;
  }
  .scene-dialog__image {
    max-height: calc(100dvh - 225px);
  }
  .scene-dialog__note {
    font-size: 9px;
  }
  .story__body h2 {
    font-size: 25px;
  }
  .story__body > p {
    font-size: 14px;
  }
}
@media (max-width: 420px) {
  .hero {
    min-height: 750px;
  }
  .hero .original-wordmark {
    width: 350px;
    margin-bottom: -12px;
  }
  .hero__title {
    font-size: 35px;
  }
  .hero__lead {
    font-size: 13px;
    max-width: 310px;
  }
  .hero .btn {
    font-size: 11px;
    gap: 11px;
    padding: 13px 14px;
  }
  .hero__eyebrow {
    font-size: 7px;
  }
  .hero-bottom {
    font-size: 7px;
  }
  .brand__name {
    font-size: 10px;
  }
  .brand__name small {
    font-size: 6px;
  }
  .brand__mark--original {
    width: 51px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-top p {
    text-align: left;
    font-size: 12px;
  }
  .toc ol {
    grid-template-columns: 1fr;
  }
  .toc a {
    font-size: 12px;
  }
  .scene-dialog__toolbar h2 {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scene-expand img,
  .chapter-index summary > span {
    transition: none;
  }
}
