:root {
  color-scheme: dark;
  --background: #0c0e12;
  --gold: #e6b46d;
  --text: #eee9df;
  --muted: #b5afa6;
  --page-padding: clamp(22px, 4.2vw, 72px);
  --figure-size: min(74vw, 810px);
  --float-duration: 7s;
  --icon-orbit-duration: 90s;
  --icon-size: clamp(44px, 5.8vw, 58px);
  --language-space: 0px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  background: var(--background);
  color: var(--text);
}
* { box-sizing: border-box; }
html { min-width: 280px; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background: radial-gradient(ellipse at 50% 52%, #26211d 0%, #151518 33%, #0c0e12 69%);
}
a { color: inherit; -webkit-tap-highlight-color: transparent; }
button { font: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
[hidden] { display: none !important; }
.ambient {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 12%, #aa733810, transparent 45%), linear-gradient(90deg, #0002, transparent 22%, transparent 78%, #0002);
}
.header, .footer {
  padding-inline: var(--page-padding);
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.header { padding-block: 26px 12px; min-height: 82px; flex-wrap: wrap; }
.signature {
  text-decoration: none;
  display: inline-block;
  max-width: 100%;
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .035em;
  line-height: 1.2;
  color: transparent;
  -webkit-text-stroke: .7px var(--gold);
  overflow-wrap: anywhere;
}
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid #e6b46d38;
  border-radius: 999px;
  background: #121419;
}
.language-button {
  min-width: 78px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #cec7bc;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}
.language-button:hover { color: #ffe2b3; background-color: #e6b46d12; }
.language-button[aria-pressed="true"] {
  color: #221b13;
  background: linear-gradient(135deg, #f2d39e, #dba65e);
  box-shadow: 0 2px 10px #0003;
}
.language-button:focus-visible { outline-offset: 2px; }
.main {
  display: grid;
  grid-template-rows: minmax(calc(260px + var(--language-space)), 1fr);
  place-items: center;
  position: relative;
  isolation: isolate;
}
.scene-frame {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: calc(var(--icon-size) / 2 + 4px);
  padding-bottom: calc(var(--icon-size) / 2 + 4px + var(--language-space));
  container-type: size;
  /* Invisible rotating squares must not enlarge the page's scroll area. */
  overflow: clip;
}
.name-backdrop {
  position: absolute;
  z-index: -2;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-size: min(8.2vw, 9rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .035em;
  padding-left: .035em;
  color: transparent;
  -webkit-text-stroke: 1px #dec39a13;
  user-select: none;
  white-space: nowrap;
}
.scene {
  width: min(var(--figure-size), 100cqw, 100cqh);
  min-width: 0;
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
}
.scene > .language-switch {
  position: absolute;
  top: calc(100% + 24px);
  left: 50%;
  transform: translateX(-50%);
}
.orbit {
  position: absolute;
  border: 1px solid #d3a26826;
  border-radius: 50%;
  width: 96%;
  aspect-ratio: 1;
  top: 2%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 30%, #cd963511, transparent 61%);
  box-shadow: 0 0 90px #dc9b4005;
}
.orbit-inner {
  width: 84%;
  top: 8%;
  border-color: #d3a26810;
  background: none;
}
.icon-orbit {
  position: absolute;
  inset: 2%;
  z-index: 2;
  pointer-events: none;
  animation: icon-revolution var(--icon-orbit-duration) linear infinite;
  will-change: transform;
}
.icon-spoke { position: absolute; inset: 0; transform: rotate(var(--icon-angle)); }
.icon-anchor {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%) rotate(calc(0deg - var(--icon-angle)));
}
.icon-badge {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  appearance: none;
  cursor: pointer;
  pointer-events: auto;
  width: var(--icon-size);
  height: var(--icon-size);
  border: 1px solid transparent;
  border-radius: 50%;
  color: #f0c88e;
  background:
    radial-gradient(circle at 30% 16%, #4a3928, #232121 44%, #15171d 80%) padding-box,
    linear-gradient(145deg, #edc387b3, #966b393d 52%, #d8a15a94) border-box;
  box-shadow: 0 8px 20px #0007, 0 0 20px #c78e2b12, inset 0 1px 1px #ffffff1a, inset 0 -3px 10px #0006;
  transition: scale .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  animation: icon-counter-revolution var(--icon-orbit-duration) linear infinite;
}
.icon-badge::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid #eac18a24;
  border-radius: inherit;
  pointer-events: none;
}
@media (hover: hover) {
  /* Only the badges receive pointer events; gaps keep the orbit moving. */
  .icon-orbit:hover,
  .icon-orbit:hover .icon-badge { animation-play-state: paused; }
  .icon-badge:hover {
    scale: 1.08;
    border-color: #efc485;
    color: #ffe2b3;
    box-shadow: 0 10px 24px #0008, 0 0 26px #e6b46d38, inset 0 1px 1px #ffffff24;
  }
}
.icon-badge svg {
  width: 48%;
  height: 48%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-badge > * { pointer-events: none; }
.icon-badge:focus-visible {
  outline-offset: 4px;
  border-color: var(--gold);
  color: #ffe2b3;
  box-shadow: 0 8px 20px #0007, 0 0 26px #e6b46d38;
}
.icon-badge:active { scale: .97; }
.icon-orbit:has(.icon-badge:focus-visible),
.icon-orbit:has(.icon-badge:focus-visible) .icon-badge,
:root[data-info-open] .icon-orbit,
:root[data-info-open] .icon-badge,
:root[data-info-open] .floating-figure,
:root[data-info-open] .ground-shadow { animation-play-state: paused; }
:root[data-info-open] { overflow: hidden; }
.icon-lettermark {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .035em;
  text-align: center;
  user-select: none;
}
@keyframes icon-revolution { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes icon-counter-revolution { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
.warm-light {
  position: absolute;
  inset: 13% 17% 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, #d8922514, transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}
.floating-figure {
  width: 82%;
  height: 82%;
  position: relative;
  z-index: 1;
  animation: levitate var(--float-duration) ease-in-out infinite;
  will-change: transform;
}
.floating-figure picture, .floating-figure img { display: block; width: 100%; height: 100%; }
.floating-figure img { object-fit: contain; user-select: none; filter: drop-shadow(0 16px 24px #0003); }
.ground-shadow {
  position: absolute;
  left: 19%;
  right: 19%;
  bottom: 10%;
  height: 4%;
  border-radius: 50%;
  background: #000;
  filter: blur(12px);
  opacity: .48;
  animation: shadow-breathe var(--float-duration) ease-in-out infinite;
}
@keyframes levitate {
  0%, 100% { transform: translateY(3px) rotate(-.15deg); }
  50% { transform: translateY(-9px) rotate(.15deg); }
}
@keyframes shadow-breathe {
  0%, 100% { transform: scaleX(1); opacity: .48; }
  50% { transform: scaleX(.85); opacity: .3; }
}
.footer {
  justify-content: flex-end;
  flex-wrap: wrap;
  padding-block: 16px 25px;
  color: var(--gold);
  font: 500 .875rem/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}
.contact-link, .copyright { font: inherit; letter-spacing: inherit; }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}
.contact-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-link span { min-width: 0; overflow-wrap: anywhere; }
.contact-link:hover { color: #ffe2b3; }
.contact-link:hover span { text-decoration: underline; text-underline-offset: 4px; }
.copyright { margin: 0; }
.info-dialog {
  width: min(480px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100svh - 40px);
  padding: 0;
  border: 1px solid #b9915166;
  border-radius: 22px;
  margin: auto;
  background: #17181d;
  color: var(--text);
  box-shadow: 0 24px 100px #0009;
}
.info-dialog::backdrop { background: #05070bbd; backdrop-filter: blur(7px); }
.info-dialog[open] { animation: reveal-info .18s ease-out; }
.info-dialog[data-detailed] { width: min(680px, calc(100vw - 32px)); }
.info-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: calc(100svh - 42px);
  padding: clamp(24px, 5vw, 36px);
}
.info-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #b9915166 transparent;
}
.info-dialog[data-detailed] .info-content { padding-inline-end: 12px; }
.info-content:focus-visible { outline-offset: 3px; }
.info-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #c6975933;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.info-close:hover { background: #e6b46d14; border-color: var(--gold); }
.info-emblem {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border: 1px solid #c697595c;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 16%, #4a3928, #232121 44%, #15171d 80%);
  box-shadow: inset 0 0 0 5px #ffffff03, 0 6px 18px #0004;
  color: var(--gold);
}
.info-emblem svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-panel h2 { flex-shrink: 0; margin: 0 0 14px; font-size: clamp(1.375rem, 5vw, 1.75rem); line-height: 1.3; overflow-wrap: anywhere; }
.info-panel p { margin: 0; font-size: 1rem; line-height: 1.8; color: #cec7bc; }
.info-panel .info-tagline { margin-bottom: 16px; color: #f0c88e; font-size: 1.0625rem; font-weight: 600; line-height: 1.6; }
.info-details { margin-top: 24px; }
.info-details .info-introduction { margin-bottom: 24px; }
.info-details .info-terms + .info-terms { margin-top: 20px; }
.info-details h3 { margin: 0 0 16px; font-size: 1rem; line-height: 1.5; color: var(--text); }
.info-features { margin: 0 0 24px; padding-inline-start: 21px; color: #cec7bc; font-size: 1rem; line-height: 1.8; }
.info-features li + li { margin-top: 14px; }
.info-features li::marker { color: var(--gold); }
.info-features strong { color: var(--text); font-weight: 600; }
.info-panel .info-invitation { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e6b46d2b; color: #f0c88e; font-weight: 600; }
@keyframes reveal-info { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 1600px) { :root { --figure-size: min(68vw, 940px); } }
@media (max-width: 700px) {
  :root { --figure-size: min(calc(100vw - 48px), 650px); }
  .header { padding-block: 22px 10px; min-height: 76px; gap: 12px; }
  .footer {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding-block: 8px max(14px, env(safe-area-inset-bottom));
    color: #9b896f;
    text-align: center;
  }
  .contact-link { justify-content: center; gap: 8px; }
  .copyright { margin-top: 4px; }
}
@media (max-width: 700px), (hover: none) and (pointer: coarse) {
  .header { justify-content: center; align-items: center; flex-direction: column; gap: 12px; }
  .main {
    --language-space: 80px;
  }
  .signature {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1.375rem, 6vw, 1.625rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .04em;
    color: var(--gold);
    -webkit-text-stroke: 0;
    text-align: center;
  }
}
@media (max-width: 370px) {
  .header { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .icon-badge, .language-button { transition: none; }
  .icon-badge:hover, .icon-badge:active { scale: 1; }
  .floating-figure,
  .ground-shadow,
  .icon-orbit,
  .icon-badge,
  .info-dialog[open] { animation: none; }
}
