body:has(.visitor-welcome) {
  padding: 0;
  background: #101310;
}
.visitor-welcome {
  --white: #f8f8f0;
  --accent: #b3ee52;
  color: var(--white);
  background: #101310;
  font-family: var(--body);
}
.visitor-welcome a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.welcome-width { width: min(1200px, 88%); margin-inline: auto; }
.welcome-hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: clamp(540px, 68svh, 720px);
  background: #17221c;
}
.welcome-wall {
  position: absolute;
  z-index: -3;
  inset: -42% -12%;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.08fr 1fr;
  gap: 11px;
  transform: rotate(-10deg);
}
.welcome-wall > div { display: grid; grid-template-rows: repeat(3, minmax(0,1fr)); gap: 11px; min-width: 0; }
.welcome-wall > div:nth-child(even) { transform: translateY(13%); }
.welcome-wall img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.welcome-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg,rgba(7,12,10,.77) 0%,rgba(7,12,10,.13) 23%,rgba(7,12,10,.12) 66%,rgba(10,15,11,.78) 100%),
    radial-gradient(ellipse 53% 103% at 50% 52%,rgba(7,13,11,.92) 3%,rgba(7,13,11,.76) 46%,rgba(7,13,11,.23) 100%);
}
.welcome-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -23px;
  left: -5%;
  width: 110%;
  height: 38px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: #101310;
  border-top: 2px solid #89a869;
}
.welcome-bar { display: flex; justify-content: space-between; align-items: center; padding-block: 22px; }
.welcome-logo img { width: clamp(136px,14vw,181px); height: auto; }
.welcome-signin, .welcome-primary, .welcome-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 13px;
  border-radius: 7px; font-weight: 800; line-height: 1.2; text-decoration: none;
  transition: background-color .18s, color .18s;
}
.welcome-signin { background: #f7f7ef; color: #17231b; white-space: nowrap; min-height: 44px; padding: 9px 22px; font-size: 15px; }
.welcome-signin:hover { background: #d8dfcf; }
.welcome-intro { text-align: center; align-self: center; padding: 15px 22px 72px; }
.welcome-intro h1 { font-size: clamp(65px, 6.6vw, 100px); font-weight: 900; letter-spacing: -.065em; line-height: .92; }
.welcome-intro h1 em { font-style: normal; color: #c4f67e; }
.welcome-intro p { max-width: 540px; margin: 23px auto 0; font-size: clamp(17px,1.48vw,21px); line-height: 1.46; font-weight: 600; color: #f0f1e8; }
.welcome-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.welcome-primary, .welcome-secondary { min-height: 49px; padding: 13px 24px; font-size: 16px; }
.welcome-primary { color: #14220f; background: var(--accent); }
.welcome-primary:hover { background: #ceff83; }
.welcome-secondary { color: var(--white); background: rgba(25,32,27,.82); border: 1px solid #859085; }
.welcome-secondary:hover { background: #3a443b; }
.welcome-body { padding-top: 28px; }
.welcome-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.welcome-section-head h2, .welcome-family h2 { font-size: clamp(25px,2.7vw,36px); letter-spacing: -.045em; line-height: 1.15; }
.welcome-section-head a { color: #c6d2bd; font-size: 15px; font-weight: 700; }
.welcome-section-head a:hover, .welcome-footer a:hover { color: var(--accent); text-decoration: underline; }
.welcome-shelf {
  list-style: none; display: grid; grid-template-columns: repeat(5,minmax(0,1fr));
  gap: clamp(10px,1.3vw,17px); padding: 0; margin: 0;
}
.welcome-shelf li { min-width: 0; }
.welcome-cover {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; aspect-ratio: 4/5; background: #29312a;
  border-radius: 9px; box-shadow: inset 0 0 0 1px #ffffff21;
}
.welcome-cover img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.welcome-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,transparent 30%,#090d0a2b 48%,#080c0af5 100%); }
.welcome-cover-caption { display: grid; gap: 3px; padding: clamp(12px,1.4vw,21px); }
.welcome-cover-caption > span { font-size: clamp(19px,1.85vw,29px); font-weight: 900; letter-spacing: -.045em; line-height: 1.03; }
.welcome-cover-caption small { color: #e2e4d9; font-size: 13px; font-weight: 650; }
@media (hover:hover) { .welcome-cover:hover img { transform: scale(1.055); } }
.welcome-family {
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
  margin-top: clamp(36px,5vw,70px); padding: clamp(25px,3.4vw,44px);
  background: linear-gradient(110deg,#203a2a,#17231c 75%); border: 1px solid #39483c; border-radius: 12px;
}
.welcome-family p { color: #d1dacb; font-size: 17px; max-width: 580px; margin-top: 8px; }
.welcome-family a { flex: none; }
.welcome-footer { display: flex; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; padding: 30px 0 42px; font-size: 14px; color: #bdc6b9; }
.welcome-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.welcome-footer a, .welcome-section-head a { padding-block: 7px; }
@media (max-width:800px) {
  .welcome-width { width: 90%; }
  .welcome-hero { min-height: 550px; }
  .welcome-wall { inset: -27% -30%; gap: 7px; }
  .welcome-wall > div { gap: 7px; }
  .welcome-body { padding-top: 22px; }
  .welcome-shelf { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 5vw 12px 4px; margin: -4px -5vw 0 -4px; scrollbar-width: thin; scrollbar-color: #63745b transparent; }
  .welcome-shelf li { flex: 0 0 clamp(160px,31vw,220px); scroll-snap-align: start; }
  .welcome-cover-caption > span { font-size: 24px; }
}
@media (max-width:560px) {
  .welcome-bar { padding-block: 17px; }
  .welcome-signin { padding-inline: 14px; }
  .welcome-hero { min-height: clamp(490px,73svh,605px); }
  .welcome-wall { inset: -27% -53%; grid-template-columns: repeat(4,minmax(0,1fr)); }
  .welcome-hero::before { background: linear-gradient(180deg,#080d0ad9,transparent 23%,transparent 74%,#0b100cde), radial-gradient(ellipse 74% 74% at 50% 52%,#080d0be6 9%,#080e0cbf 48%,#080d0b65 100%); }
  .welcome-intro { padding: 16px 16px 58px; }
  .welcome-intro h1 { font-size: clamp(54px,14.2vw,74px); }
  .welcome-intro p { max-width: 345px; font-size: 17px; }
  .welcome-break { display: none; }
  .welcome-actions { gap: 9px; margin-top: 23px; }
  .welcome-primary, .welcome-secondary { font-size: 15px; padding-inline: 15px; }
  .welcome-section-head a { font-size: 13px; }
  .welcome-family { flex-direction: column; align-items: flex-start; gap: 16px; }
  .welcome-family p { font-size: 16px; }
}

.welcome-motion { display:none; }
@media (prefers-reduced-motion:no-preference) {
  .welcome-wall { animation:welcome-drift 24s ease-in-out infinite alternate; }
  .welcome-intro h1,.welcome-intro p,.welcome-actions { animation:welcome-arrive .65s ease-out backwards; }
  .welcome-intro p { animation-delay:.09s; }
  .welcome-actions { animation-delay:.17s; }
  .welcome-cover { transition:translate .22s; }
  .welcome-cover:focus-visible,.welcome-cover:hover { translate:0 -3px; }
  .quiet-motion .welcome-wall { animation-play-state:paused; }
  .quiet-motion .welcome-intro > * { animation:none; }
  .motion-controls-ready .welcome-motion { position:absolute;display:block;right:6%;bottom:26px;min-height:40px;padding:6px 13px;color:#f7faf3;background:#142018d9;border:1px solid #aeccad77;border-radius:20px;font-size:13px;font-weight:750; }
  .welcome-motion span::before { margin-right:6px; }
  .motion-pause::before { content:'Ⅱ'; }
  .motion-play::before { content:'▷'; }
  .motion-play,.quiet-motion .motion-pause { display:none; }
  .quiet-motion .motion-play { display:inline; }
}
@keyframes welcome-drift { from{transform:rotate(-10deg) translate3d(-1%,-1%,0) scale(1.03)} to{transform:rotate(-8deg) translate3d(1%,2.5%,0) scale(1.045)} }
@keyframes welcome-arrive { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
