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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  line-height: 1.75;
  color: #1a1a1a;
  background: #f5f2ed;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ol, ul, figure,
blockquote, dl, dd {
  margin: 0;
}

ul[class], ol[class] {
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  border: 0;
}

a {
  color: inherit;
}

address {
  font-style: normal;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4 {
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #1a1a1a;
}

h1, .h1 {
  font-size: clamp(2.1rem, 5vw, 4.25rem);
}

h2, .h2 {
  font-size: clamp(1.55rem, 3vw, 2.6rem);
}

h3, .h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

h4, .h4 {
  font-size: 1rem;
}

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

.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: #d4af37;
}

.btn:focus-visible,
.nav-toggle:focus-visible {
  outline-offset: -3px;
}

body.nav-lock {
  overflow: hidden;
}

.container {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
}

.site-main {
  min-height: 100vh;
  margin-left: 0;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.section {
  padding-block: 3.5rem;
}

.section-head {
  max-width: 54rem;
  margin-bottom: 2.5rem;
}

.section-kicker {
  display: block;
  margin-bottom: 0.8rem;
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff6b2c;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.75rem);
}

.section-desc {
  max-width: 42rem;
  margin-top: 1rem;
  color: #555;
}

.prose {
  font-family: "Noto Serif SC", serif;
  line-height: 1.9;
  color: #3b3b3b;
}

.prose p {
  margin-bottom: 1.25em;
}

.prose a {
  color: #0a1e3f;
  text-decoration: underline;
  text-decoration-color: #d4af37;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.prose ul,
.prose ol {
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}

.prose h2,
.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}

.breadcrumb {
  margin-bottom: 2.5rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #555;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: #d4af37;
}

.breadcrumb__link {
  color: #0a1e3f;
  text-decoration: none;
}

.breadcrumb__link:hover {
  color: #ff6b2c;
}

.breadcrumb__current {
  color: #0a1e3f;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #0a1e3f;
  background: #d4af37;
  border: 1px solid #d4af37;
  cursor: pointer;
  text-decoration: none;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: background 0.18s, color 0.18s, transform 0.18s;
}

.btn:hover {
  color: #fff;
  background: #ff6b2c;
  border-color: #ff6b2c;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  color: #d4af37;
  background: transparent;
  border-color: rgba(212, 175, 55, 0.6);
}

.btn--ghost:hover {
  color: #0a1e3f;
  background: #d4af37;
  border-color: #d4af37;
}

.cut {
  --cut: 1.25rem;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2,
.grid--3 {
  grid-template-columns: 1fr;
}

.card {
  display: block;
  padding: 1.5rem;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e0d8c8;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 rgba(10, 30, 63, 0.08);
  border-color: rgba(10, 30, 63, 0.2);
}

.card__title {
  margin-bottom: 0.5rem;
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-size: 1.12rem;
  line-height: 1.3;
  color: #1a1a1a;
}

.card__text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #555;
}

.card--dark {
  color: rgba(255, 255, 255, 0.8);
  background: #0a1e3f;
  border-color: #0a1e3f;
}

.card--dark .card__title {
  color: #fff;
}

.card--dark .card__text {
  color: rgba(255, 255, 255, 0.7);
}

.image-frame {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 11rem;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #d8d0c0, #efe7da);
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(212, 175, 55, 0.22) 42%, transparent 56%);
  transform: translateX(-70%);
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.image-frame:hover::before {
  transform: translateX(70%);
}

.image-frame::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  background: #ff6b2c;
  opacity: 0.25;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.index-list {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e0d8c8;
}

.index-list__item {
  border-bottom: 1px solid #e0d8c8;
}

.index-list__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0.25rem;
  color: #1a1a1a;
  text-decoration: none;
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  transition: padding 0.18s, color 0.18s;
}

.index-list__link:hover {
  padding-left: 0.75rem;
  color: #ff6b2c;
}

.index-list__meta {
  font-family: "Noto Serif SC", serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #ff6b2c;
  white-space: nowrap;
}

[data-inview].inview-init {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-inview].is-inview {
  opacity: 1;
  transform: none;
}

.site-header {
  position: relative;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 500;
  padding: 0.75rem 1.1rem;
  color: #0a1e3f;
  background: #d4af37;
  text-decoration: none;
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  transform: translateY(-200%);
  transition: transform 0.2s;
}

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

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 240;
  display: flex;
  flex-direction: column;
  width: min(86vw, 17rem);
  color: rgba(255, 255, 255, 0.76);
  background: #0a1e3f;
  border-right: 1px solid rgba(212, 175, 55, 0.22);
  transform: translateX(-100%);
  visibility: hidden;
  box-shadow: 8px 0 24px rgba(7, 20, 40, 0.2);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s 0.3s;
}

.site-nav[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
  box-shadow: 14px 0 34px rgba(7, 20, 40, 0.32);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s 0s;
}

.site-header__inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.brand {
  display: block;
  padding: 2rem 1.35rem 1.35rem;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(212, 175, 55, 0) 58%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand__kicker {
  display: block;
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-size: 3.05rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #d4af37;
}

.brand__kicker::after {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.16em;
  vertical-align: 0.14em;
  background: #39ff14;
}

.brand__name {
  display: block;
  margin-top: 0.55rem;
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  color: #fff;
}

.brand__accent {
  font-style: normal;
  color: #d4af37;
}

.brand__sub {
  display: block;
  margin-top: 0.45rem;
  padding-left: 0.55rem;
  font-family: "Noto Serif SC", serif;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  border-left: 2px solid #ff6b2c;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 1.1rem 0 1.5rem;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.25rem;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  border-left: 4px solid transparent;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
}

.nav-link[aria-current="page"] {
  color: #d4af37;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.14), transparent 72%);
  border-left-color: #d4af37;
}

.nav-link[aria-current="page"] .nav-index {
  color: #39ff14;
}

.nav-index {
  min-width: 1.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: rgba(212, 175, 55, 0.86);
}

.nav-label {
  white-space: nowrap;
}

.nav-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: auto;
  padding: 1.15rem 1.35rem 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-foot__label {
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.nav-foot__link {
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: #d4af37;
  text-decoration: none;
}

.nav-foot__link:hover {
  color: #ff6b2c;
}

.nav-toggle {
  position: fixed;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 260;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.7rem 0.5rem 0.6rem;
  color: #fff;
  background: #ff6b2c;
  cursor: pointer;
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.nav-toggle__box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 0.9rem;
}

.nav-toggle__line {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.2s;
}

.nav-toggle.is-active .nav-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 230;
  padding: 0;
  color: transparent;
  background: rgba(7, 20, 40, 0.62);
  border: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s, visibility 0.22s;
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.site-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  height: 4px;
  background: rgba(7, 20, 40, 0.15);
  pointer-events: none;
}

.site-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #d4af37, #ff6b2c 72%, #39ff14);
  transition: width 0.08s linear;
}

.site-footer {
  margin-left: 0;
  color: rgba(255, 255, 255, 0.76);
  background: #071428;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  max-width: 76rem;
  margin: 0 auto;
  padding: 3rem 1rem 2.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.site-footer__col--brand {
  gap: 1rem;
}

.site-footer__h {
  display: block;
  margin-bottom: 0.6rem;
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d4af37;
}

.site-footer__statement {
  max-width: 28rem;
  font-family: "Noto Serif SC", serif;
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.52);
}

.site-footer__link {
  position: relative;
  padding: 0.2rem 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.site-footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #d4af37;
  transition: width 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.site-footer__link:hover {
  color: #fff;
}

.site-footer__link:hover::after {
  width: 100%;
}

.site-footer__text {
  font-family: "Noto Serif SC", serif;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 76rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  font-family: "Archivo Black", "Noto Sans SC", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.44);
}

.brand--footer {
  padding: 0;
  background: transparent;
  border: 0;
}

.brand--footer .brand__kicker {
  font-size: 2.3rem;
}

@media (min-width: 48rem) {
  :root {
    --sidebar-w: 17rem;
  }

  .container {
    width: min(100% - 4rem, 82rem);
  }

  .site-main {
    margin-left: 17rem;
    padding-top: 0;
    padding-bottom: 5rem;
  }

  .section {
    padding-block: 5rem;
  }

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

  .skip-link {
    left: calc(17rem + 1rem);
  }

  .site-nav {
    width: 17rem;
    transform: none;
    visibility: visible;
    box-shadow: none;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .site-nav[data-open="true"] {
    box-shadow: none;
  }

  .nav-toggle,
  .nav-backdrop {
    display: none;
  }

  .site-progress {
    left: 17rem;
    background: rgba(212, 175, 55, 0.2);
  }

  .site-footer {
    margin-left: 17rem;
  }

  .site-footer__top {
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    padding: 4.5rem 2rem 3rem;
  }

  .site-footer__bottom {
    padding: 1.75rem 2rem 2.5rem;
  }
}

@media (min-width: 64rem) {
  :root {
    --sidebar-w: 18rem;
  }

  .site-nav {
    width: 18rem;
  }

  .skip-link {
    left: calc(18rem + 1rem);
  }

  .site-main,
  .site-footer {
    margin-left: 18rem;
  }

  .site-progress {
    left: 18rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
