/* Horizontal disclosures follow the reference's hierarchy in Shoubu's black and gold. */
.desktop-nav > .nav-group { position: static; }
.nav-group > summary { display: flex; align-items: center; gap: 9px; padding-block: 12px; list-style: none; cursor: pointer; transition: color .2s; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-chevron { display: block; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav-group[open] > summary, .nav-group > summary:hover { color: var(--gold-bright); }
.nav-group[open] > summary .nav-chevron { transform: translateY(2px) rotate(225deg); }
.nav-panel {
  position: absolute; top: calc(100% + 10px); right: 16px;
  width: min(940px, calc(100vw - 64px)); max-width: calc(100% - 32px);
  display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 30px;
  padding: 26px 30px; border: 1px solid #bd965563; border-top-color: var(--gold);
  color: #f7f4ef; background: #0b0c0b url('images/black-texture.webp') repeat;
  background-size: 640px; box-shadow: 0 16px 40px #0004;
  white-space: normal; font-size: .9375rem; line-height: 1.8;
  max-height: calc(100dvh - 150px - var(--header-admin-offset, 0px)); overflow-y: auto;
}
.nav-group[open] .nav-panel { animation: nav-panel-enter .2s ease-out both; }
.nav-group:not([open]) > .nav-panel { display: none; }
.nav-panel__top { align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding-right: 24px; border-right: 1px solid #bd96554d; }
.nav-panel__english { font: .75rem/1.6 Georgia, serif; letter-spacing: .08em; color: var(--gold-bright); }
.nav-panel__title { font-size: 1.0625rem; }
.nav-panel__title::after { content: '→'; display: inline-block; margin-left: 14px; color: var(--gold-bright); transition: transform .2s; }
.nav-panel__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 26px; align-content: center; }
.nav-panel__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding-block: 9px; border-bottom: 1px solid #bd96552e; }
.nav-panel__links a::after { content: '›'; flex: 0 0 auto; color: var(--gold); transition: transform .2s; }
.nav-panel a:hover { color: var(--gold-bright); }
.nav-panel a:hover::after, .nav-panel__top:hover .nav-panel__title::after { transform: translateX(3px); }
.nav-panel a:focus-visible { outline-offset: 3px; }
.nav-backdrop { position: fixed; inset: 0; z-index: 29; background: #0005; animation: nav-backdrop-enter .2s ease-out both; }
.nav-backdrop[hidden] { display: none; }
.has-career-header:not(.has-scrolled).has-submenu .site-header { background: #050605; color: #fff; border-color: #bd96554d; }
.has-career-header:not(.has-scrolled).has-submenu .site-header :is(.brand__crest, .header-contact) { color: var(--gold-bright); }
.has-career-header:not(.has-scrolled) .nav-group:not([open]) > summary:hover { color: #765a2d; }
.has-career-header:not(.has-scrolled).has-submenu .nav-group > summary:hover { color: var(--gold-bright); }
/* Approved simple A: a quiet single-column list with inline disclosures. */
html:has(.menu-dialog[open]) { background-color: var(--black); color-scheme: dark; }
.menu-dialog {
  position: fixed; inset: 0; width: calc(100vw + var(--menu-scrollbar, 0px)); max-width: none;
  height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0;
  color: #f2efe8; background: #111310;
  color-scheme: dark; overflow-y: auto; overflow-x: hidden; scrollbar-gutter: stable;
  overscroll-behavior: contain;
}
.menu-dialog__surface { position: relative; min-height: 100%; }
.menu-dialog__head { position: sticky; top: 0; z-index: 2; background: #111310; border-bottom: 1px solid #eeead724; }
.menu-dialog__head-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 588px; min-height: 80px; margin-inline: auto;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) 12px max(14px, env(safe-area-inset-left, 0px));
}
.menu-dialog__inner {
  width: 100%; max-width: 560px; margin-inline: auto;
  padding: 36px max(28px, env(safe-area-inset-right, 0px)) max(40px, env(safe-area-inset-bottom, 0px)) max(28px, env(safe-area-inset-left, 0px));
}
.menu-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.menu-brand .brand__crest { width: 37px; height: 44px; flex-shrink: 0; }
.menu-brand .brand__custom { max-width: min(62vw, 250px); max-height: 44px; object-fit: contain; }
.menu-brand__name { font-size: 1.125rem; font-weight: 600; line-height: 1.4; letter-spacing: .13em; }
.menu-brand__name > span { font-size: .65em; }
.menu-close {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--gold-bright); cursor: pointer;
}
.menu-close__mark { position: relative; width: 28px; height: 32px; }
.menu-close__mark::before, .menu-close__mark::after {
  content: ''; position: absolute; right: 0; top: 15.25px; width: 28px; height: 1.5px; background: currentColor;
  transform: rotate(45deg);
}
.menu-close__mark::after { transform: rotate(-45deg); }
.menu-dialog[open] .menu-close__mark::before { animation: menu-mark-top .22s cubic-bezier(.22, 1, .36, 1) both; }
.menu-dialog[open] .menu-close__mark::after { animation: menu-mark-bottom .22s cubic-bezier(.22, 1, .36, 1) both; }
.mobile-nav__primary { display: grid; }
.mobile-nav__primary > :is(.mobile-nav__group, .mobile-nav__item) { border-bottom: 1px solid #eeead724; }
.mobile-nav__item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; width: 100%; min-height: 68px; min-width: 0; padding: 14px 0;
  border: 0; background: none; color: inherit; text-align: left; cursor: pointer;
  transition: color .2s;
}
.mobile-nav__item[aria-expanded="true"], .mobile-nav__item:hover { color: var(--gold-bright); }
.mobile-nav__label { font-size: 1.3125rem; font-weight: 500; line-height: 1.6; letter-spacing: .075em; }
.mobile-nav__arrow, .mobile-nav__symbol { display: block; width: 24px; height: 24px; flex-shrink: 0; color: var(--gold-bright); }
.mobile-nav__arrow { font: 19px/24px Georgia, serif; text-align: center; }
.mobile-nav__symbol { position: relative; }
.mobile-nav__symbol::before, .mobile-nav__symbol::after { content: ''; position: absolute; top: 11px; left: 4px; width: 16px; height: 1px; background: currentColor; }
.mobile-nav__symbol::after { transform: rotate(90deg); transition: transform .2s; }
[aria-expanded="true"] > .mobile-nav__symbol::after { transform: rotate(0); }
.mobile-nav__panel[hidden] { display: none; }
.mobile-nav__links { display: grid; padding: 0 4px 12px 16px; }
.mobile-nav__links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding-block: 6px; color: #c7c3b9; font-size: .875rem; line-height: 1.8; letter-spacing: .035em; }
.mobile-nav__links a > span { flex: 0 0 auto; color: var(--gold-bright); font-family: Georgia, serif; }
.mobile-nav__links a:hover { color: var(--gold-bright); }
.menu-dialog__footer { margin-top: 32px; }
.menu-contact { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 56px; padding: 12px 23px; border: 1px solid var(--gold-bright); border-radius: 100px; background: none; color: var(--gold-bright); font-size: 1.0625rem; font-weight: 500; line-height: 1.6; letter-spacing: .04em; transition: background .2s, color .2s; }
.menu-contact:hover { background: var(--gold-bright); color: #111310; }
.menu-contact__arrow { flex: 0 0 auto; font: 19px/1 Georgia, serif; }
.menu-privacy { display: table; width: fit-content; max-width: 100%; padding-block: 16px 12px; margin-top: 15px; color: #b9b6aa; font-size: .75rem; line-height: 1.8; letter-spacing: .035em; transition: color .2s; }
.menu-privacy:hover { color: var(--gold-bright); }
.menu-dialog :focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
.menu-contact:focus-visible { outline-color: var(--gold-bright); }
@media (max-width: 359px) {
  .menu-dialog__inner { padding-inline: 23px; }
}
/* Keep the brand and close control available when the user enlarges text. */
.header-large-type .menu-brand__name { font-size: 1rem; letter-spacing: .04em; }
.header-large-type .menu-brand__name > span { display: block; font-size: .7em; }
.menu-dialog::backdrop { background: #0004; animation: nav-backdrop-enter .22s ease both; }
.menu-dialog[data-closing]::backdrop { animation: nav-backdrop-exit .16s ease both; }
@media (min-width: 1280px) {
  .footer-nav--updated a:nth-child(7) { grid-column: auto; }
  .footer-nav--updated a:nth-child(6n) { border-right: 0; padding-right: 0; }
}
@media (max-width: 1099px) { .nav-backdrop { display: none; } }
@media (min-width: 1100px) and (max-width: 1199px) {
  .has-scroll-header .desktop-nav { gap: 18px; }
  .nav-group > summary { gap: 7px; }
}
.header-large-type .nav-backdrop { display: none; }
@keyframes nav-panel-enter { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nav-backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes nav-backdrop-exit { from { opacity: 1; } to { opacity: 0; } }
@keyframes menu-mark-top { from { transform: translateY(-4px); } to { transform: rotate(45deg); } }
@keyframes menu-mark-bottom { from { width: 18px; transform: translateY(4px); } to { width: 28px; transform: rotate(-45deg); } }
@media (prefers-reduced-motion: reduce) {
  .menu-dialog[open] .menu-close__mark::before, .menu-dialog[open] .menu-close__mark::after { animation: none; }
  .nav-group[open] .nav-panel, .nav-backdrop, .menu-dialog::backdrop { animation: none; }
  .nav-group > summary, .nav-chevron, .nav-panel a::after, .nav-panel__title::after { transition: none; }
  .mobile-nav__item, .mobile-nav__symbol::after, .menu-contact, .menu-privacy { transition: none; }
}
@media print { .nav-panel, .nav-backdrop, .menu-dialog { display: none !important; } }
