:root {
  --masthead-height: clamp(4.75rem, 6.6vw, 6.5rem);
  --masthead-gutter: clamp(1.25rem, 4.25vw, 5rem);
  --portal-gutter: clamp(1.5rem, 5.2vw, 6.5rem);
}
.site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 3rem);
  min-height: var(--masthead-height);
  padding: .7rem var(--masthead-gutter);
  border-bottom: 1px solid #ffffff26;
  color: var(--white);
  background: #10100f;
}
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: start;
  direction: ltr;
  line-height: 1;
}
.wordmark > span { font-size: .63rem; letter-spacing: .32em; margin-bottom: .24rem; }
.wordmark strong { font: 400 2.05rem/.9 Outfit, Arial, sans-serif; letter-spacing: .045em; }
.wordmark-dot { color: var(--gold); }
.header-tagline {
  justify-self: start;
  padding-inline-start: clamp(1rem, 2.4vw, 3rem);
  border-inline-start: 1px solid #ffffff35;
  color: #cac4b7;
  font-size: .75rem;
  line-height: 1.5;
  letter-spacing: .14em;
  text-wrap: balance;
}
.header-actions { display: flex; align-items: center; justify-content: end; gap: clamp(.5rem, 1.35vw, 1.5rem); }
.shop-link, .account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.75rem;
  font-size: .875rem;
  line-height: 1.25;
  text-align: center;
}
.shop-link {
  padding: .55rem 1rem;
  color: #17150f;
  background-color: #e2ceaa;
  border: 1px solid #e2ceaa;
  border-radius: .18rem;
  font-weight: 500;
}
.shop-short { display: none; }
.shop-link:hover { background-color: #f2e5cd; }
.account-link:hover { color: #e2ceaa; }
.account-link[hidden] { visibility: hidden; pointer-events: none; }
.header-actions svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.menu-toggle, .close-menu {
  display: grid;
  place-content: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--white);
}
.menu-toggle { gap: .35rem; padding: .5rem; }
.menu-toggle span { display: block; height: 1.5px; width: 1.45rem; background: currentColor; }
.menu-toggle:hover, .close-menu:hover { color: var(--gold); }
.site-header :focus-visible, .menu-dialog :focus-visible, .portal-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.portal {
  display: grid;
  grid-template-columns: minmax(0, 53fr) minmax(0, 47fr);
  min-height: clamp(31rem, calc(100svh - var(--masthead-height)), 59rem);
  background: var(--ink);
}
.portal-content {
  align-self: center;
  min-width: 0;
  padding: clamp(2.5rem, 5vw, 6rem) var(--portal-gutter);
}
.portal-content h1 {
  margin: 0 0 clamp(1.35rem, 3.1vw, 3.5rem);
  color: #d6c19b;
  font-size: clamp(.75rem, .85vw, .9rem);
  letter-spacing: .16em;
  text-wrap: balance;
}
.portal-nav { display: grid; }
.portal-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: clamp(.8rem, 1.55vw, 2rem);
  min-height: 2.9rem;
  padding-block: clamp(.5rem, .9vw, .95rem);
  border-top: 1px solid #ffffff25;
  color: #bdbbb4;
  font: 400 clamp(2.1rem, 4.5vw, 6rem)/1.06 Outfit, Arial, sans-serif;
  letter-spacing: -.04em;
  text-transform: uppercase;
  transition: color .18s ease;
}
.portal-link:last-child { border-bottom: 1px solid #ffffff25; }
.portal-link small {
  align-self: center;
  color: #ada99f;
  font: 400 .75rem/1 'DM Sans', Arial, sans-serif;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.portal-link span { overflow-wrap: anywhere; }
.portal-link.active, .portal-link:hover, .portal-link:focus-visible { color: #fff; }
.portal-link.active small, .portal-link:focus-visible small { color: #e0c08c; }
.portal-visual { position: relative; min-width: 0; overflow: hidden; background: #211e19; }
.portal-pictures, .portal-picture { position: absolute; inset: 0; }
.portal-picture { opacity: 0; transition: opacity .35s ease; }
.portal-picture.active { opacity: 1; }
.portal-picture img { object-position: center; }
.portal-picture.pic-0 img { object-position: 50% 55%; transform: scale(1.26); }
.portal-picture.pic-3 img { object-position: 50% 33%; }
.portal-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgb(8 8 8 / .76), transparent 26%);
}
.portal-caption {
  position: absolute;
  z-index: 1;
  inset-inline: clamp(1.25rem, 3vw, 4rem);
  bottom: clamp(1.25rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  gap: .75rem;
  color: white;
  font-size: clamp(.875rem, 1.2vw, 1.125rem);
  line-height: 1.45;
}
.caption-count { flex: none; font: 400 .75rem/1 'DM Sans', Arial, sans-serif; direction: ltr; color: #f1d8ad; }
.caption-line { flex: none; height: 1px; width: clamp(1.3rem, 2.5vw, 3rem); background: #e3cc9e; }
[dir=rtl] .header-tagline, [dir=rtl] .portal-content h1, [dir=rtl] .portal-link { letter-spacing: normal; }
[dir=rtl] .portal-link, [lang=zh] .portal-link { line-height: 1.25; }

.menu-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 38rem);
  height: 100%;
  height: 100dvh;
  max-width: 100%;
  max-height: none;
  margin: 0;
  border: 0;
  border-inline-start: 1px solid #3b3b36;
  padding: clamp(1.2rem, 3.3vw, 3rem);
  color: var(--white);
  background: #141413;
  overflow-y: auto;
  overscroll-behavior: contain;
}
[dir=rtl] .menu-dialog { inset: 0 auto 0 0; }
.menu-dialog::backdrop { background: rgb(5 5 4 / .68); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; }
.close-menu { font-size: 2.3rem; font-weight: 400; line-height: 1; }
.dialog-nav { display: grid; margin-block: clamp(2rem, 6vh, 4.5rem) 2rem; }
.dialog-nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: .75rem;
  border-top: 1px solid #ffffff28;
  font: 400 clamp(1.75rem, 4vw, 3rem)/1.18 Outfit, Arial, sans-serif;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.dialog-nav a:last-child { border-bottom: 1px solid #ffffff28; }
.dialog-nav a:hover, .dialog-nav a[aria-current] { color: var(--gold); }
.dialog-nav small { font: 400 .75rem/1 'DM Sans', Arial, sans-serif; color: #b9ac96; }
.menu-dialog .languages { flex-wrap: wrap; gap: .4rem .65rem; }
.menu-dialog .languages a { display: inline-grid; place-items: center; min-width: 2rem; min-height: 2.75rem; font-size: .875rem; opacity: 1; color: #c7c3bb; }
.menu-dialog .languages a[aria-current] { color: white; }
@media (max-width: 64rem) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; }
  .header-tagline { display: none; }
}
@media (max-width: 760px) {
  :root { --masthead-height: 4.5rem; }
  .site-header { grid-template-columns: max-content minmax(0, 1fr); padding-inline: clamp(.75rem, 4vw, 1.5rem); gap: .5rem; }
  .header-actions { gap: .35rem; }
  .account-link { width: 2.75rem; }
  .account-link span { display: none; }
  .shop-link { padding-inline: .7rem; min-width: 0; overflow-wrap: anywhere; }
  .portal { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .portal-visual { grid-row: 1; height: clamp(10rem, 26svh, 17rem); }
  .portal-picture img { object-position: 50% 42%; }
  .portal-picture.pic-0 img { object-position: 50% 48%; transform: scale(1.62); }
  .portal-picture.pic-3 img { object-position: 50% 27%; }
  .portal-visual::after { background: linear-gradient(0deg, rgb(8 8 8 / .75), transparent 45%); }
  .portal-content { padding: clamp(1.4rem, 5vw, 2.2rem) var(--portal-gutter) clamp(2rem, 7vw, 3.5rem); }
  .portal-content h1 { margin-bottom: 1rem; font-size: .75rem; }
  .portal-link { font-size: clamp(1.85rem, 8.3vw, 3.7rem); padding-block: .5rem; gap: .85rem; }
  .portal-caption { bottom: 1rem; }
}
@media (max-width: 29rem) {
  .wordmark strong { font-size: 1.55rem; }
  .wordmark > span { font-size: .5rem; }
  .shop-link { max-width: 9rem; padding-inline: .5rem; font-size: .8125rem; }
  .shop-link svg { display: none; }
  .header-actions { gap: .1rem; }
}
@media (max-width: 23rem) {
  .shop-link .shop-full { display: none; }
  .shop-link .shop-short { display: inline; }
}
@media (max-width: 19rem) {
  .site-header { grid-template-columns: minmax(0, 1fr); }
  .header-actions { justify-content: space-between; }
}


/* Footer bands must stack; the hero's horizontal flex layout does not apply. */
.home-page .home-footer,.site-footer{position:relative;inset:auto;display:block;width:100%;box-sizing:border-box;padding:36px max(24px,calc((100% - 1280px)/2));text-align:start}
.home-footer *,.site-footer *{box-sizing:border-box;min-width:0}
.home-footer .footer-top,.site-footer .footer-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;margin:0}
.home-footer .languages,.site-footer .languages{display:flex;flex-wrap:wrap;gap:12px 20px}
.home-footer .languages a,.site-footer .languages a{font-size:14px;padding-block:8px}
footer .group-sites{margin:24px 0;padding:24px 0}
footer .group-sites h2{font-size:14px;line-height:1.5;margin-bottom:16px}
footer .group-sites>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 28px}
footer .group-sites a{font-size:15px;line-height:1.5;overflow-wrap:anywhere}
footer .footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:20px 32px;font-size:13px;line-height:1.6}
footer .footer-bottom>div{display:flex;flex-wrap:wrap;gap:12px 24px}
footer .footer-bottom a{font-size:14px;overflow-wrap:anywhere}
@media(max-width:700px){footer .group-sites>div{grid-template-columns:repeat(2,minmax(0,1fr))}.home-page .home-footer,.site-footer{padding-block:28px}footer .footer-bottom{flex-direction:column}}
@media(max-width:380px){footer .group-sites>div{grid-template-columns:1fr}}
