:root {
  color-scheme: light;
  --paper: #e5e5e5;
  --ink: #1b1b1b;
  --muted: #666664;
  --line: rgba(27, 27, 27, .14);
  --pointer-x: 0px;
  --pointer-y: 0px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
button { touch-action: manipulation; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--paper); }

.atmosphere { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.ambient-light {
  position: absolute;
  width: 110vw;
  height: 100vh;
  left: -5vw;
  top: -12vh;
  background: radial-gradient(ellipse at 50% 44%, rgba(255,255,255,.36), rgba(255,255,255,0) 62%);
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0);
  transition: transform 2s cubic-bezier(.2,.6,.2,1);
}
.orbital-field {
  position: absolute;
  left: 50%; top: 48%;
  width: max(110vw, 1000px); aspect-ratio: 1;
  transform: translate3d(calc(-50% + var(--pointer-x) * .35), calc(-50% + var(--pointer-y) * .35), 0) rotate(-32deg);
  transition: transform 3s cubic-bezier(.2,.6,.2,1);
}
.orbit { position: absolute; border: 1px solid rgba(27,27,27,.055); border-radius: 50%; }
.orbit-one { inset: 12% 0; animation: orbit-drift 32s ease-in-out infinite alternate; }
.orbit-two { inset: 17% -8%; animation: orbit-drift 40s ease-in-out infinite alternate-reverse; }
.orbit-three { inset: 4% 8%; border-color: rgba(27,27,27,.035); }
.orbital-point { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #929290; opacity: .4; }
.point-one { left: 12%; top: 25.5%; }
.point-two { right: 10%; bottom: 27%; width: 3px; height: 3px; }

.page-shell {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: max(35px, env(safe-area-inset-top)) max(48px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(48px, env(safe-area-inset-left));
}
.topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 9px; font-weight: 500; letter-spacing: .17em; line-height: 1.5; }
.topline-name { letter-spacing: .2em; }
.topline-note { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.status-dot { width: 5px; height: 5px; flex: none; border-radius: 50%; background: #d59b17; box-shadow: 0 0 0 3px rgba(213,155,23,.08); animation: work-pulse 2.8s ease-in-out infinite; }

main { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 74px 0 88px; }
.brand { display: flex; flex-direction: column; align-items: center; mix-blend-mode: multiply; animation: arrive 1.1s both; }
.logo-frame { position: relative; width: clamp(210px, 23vw, 292px); aspect-ratio: 1742 / 499; overflow: hidden; mix-blend-mode: multiply; }
.brand-logo { position: absolute; width: 172.215844%; height: auto; max-width: none; left: -36.337543%; top: -246.492986%; filter: grayscale(1) brightness(1.113537); user-select: none; }
.brand-group { font-size: 10px; font-weight: 500; letter-spacing: .64em; padding-left: .64em; margin-top: 19px; }
.message { animation: arrive 1.2s .12s both; }
.short-rule { height: 30px; width: 1px; background: linear-gradient(transparent, #9e9e9b); margin: 39px auto 28px; }
h1 { margin: 0 0 21px; font-family: inherit; font-size: clamp(48px, 5.7vw, 82px); font-weight: 300; line-height: 1.1; letter-spacing: -.055em; text-wrap: balance; }
.description { margin: 0; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.95; letter-spacing: .015em; text-wrap: balance; }

footer { animation: arrive 1.3s .25s both; }
.footer-rule { height: 1px; background: var(--line); }
.footer-content { min-height: 51px; padding-top: 17px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.copyright { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; letter-spacing: .025em; }
.language-switcher { position: relative; flex: none; }
.language-trigger { display: flex; align-items: center; gap: 10px; background: transparent; border: 0; padding: 10px 0 10px 12px; min-height: 40px; cursor: pointer; font-size: 11px; }
.language-flag { display: block; width: 22px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(27,27,27,.1); }
.language-trigger .language-flag { width: 18px; height: 12px; }
.chevron { margin-left: 12px; transition: transform .3s ease; }
.language-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.language-trigger:hover { opacity: .75; }
.language-panel {
  position: absolute; right: -10px; bottom: calc(100% + 14px);
  width: 264px; max-height: min(440px, calc(100svh - 100px)); overflow-y: auto;
  border: 1px solid rgba(27,27,27,.12); border-radius: 4px;
  padding: 18px 12px 12px;
  background: #efefed;
  box-shadow: 0 16px 50px rgba(27,27,27,.08), 0 3px 10px rgba(27,27,27,.025);
  z-index: 10; transform-origin: bottom right;
  animation: panel-in .24s cubic-bezier(.16,1,.3,1) both;
}
.panel-heading { display: flex; justify-content: space-between; align-items: center; margin: 2px 9px 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 9px; letter-spacing: .14em; color: var(--muted); }
.language-count { font-variant-numeric: tabular-nums; font-size: 8px; letter-spacing: .04em; }
.language-options { display: grid; gap: 2px; }
.language-option { width: 100%; display: grid; grid-template-columns: 24px 1fr 15px; gap: 13px; align-items: center; text-align: left; min-height: 44px; padding: 11px 10px; border: 0; border-radius: 2px; background: transparent; cursor: pointer; font-size: 12px; transition: background .15s ease; }
.language-option:hover, .language-option:focus-visible { background: #e0e0dd; }
.language-option:focus-visible { outline-offset: -2px; }
.language-option[aria-pressed="true"] { background: #e5e5e2; }
.selection-mark { visibility: hidden; font-size: 12px; }
.language-option[aria-pressed="true"] .selection-mark { visibility: visible; }

@keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(7px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes work-pulse {
  0%, 100% { opacity: .45; box-shadow: 0 0 0 2px rgba(213,155,23,.04), 0 0 5px rgba(213,155,23,0); }
  50% { opacity: 1; box-shadow: 0 0 0 4px rgba(213,155,23,.09), 0 0 9px rgba(213,155,23,.2); }
}
@keyframes orbit-drift { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }

@media (min-width: 1800px) { .page-shell { max-width: 1800px; margin-inline: auto; } }
@media (max-width: 680px) {
  .page-shell { padding: max(26px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
  .topline { font-size: 8px; }
  .topline-note { gap: 7px; font-size: 7px; letter-spacing: .1em; }
  main { padding: 65px 0 68px; }
  .logo-frame { width: clamp(195px, 54vw, 250px); }
  .brand-group { font-size: 9px; margin-top: 15px; }
  .short-rule { margin-top: 32px; margin-bottom: 25px; height: 25px; }
  h1 { font-size: clamp(43px, 10vw, 64px); margin-bottom: 18px; }
  .description { font-size: 12px; line-height: 1.95; }
  .footer-content { flex-direction: column-reverse; gap: 17px; padding-top: 15px; }
  .copyright { font-size: 9px; text-align: center; }
  .language-trigger { padding-inline: 8px; }
  .language-panel { right: 50%; transform: translateX(50%); transform-origin: bottom center; width: min(280px, calc(100vw - 40px)); animation-name: panel-in-mobile; }
  .orbit-one { inset: 22% 5%; }
  .orbit-two { inset: 30% -1%; }
  .orbit-three { inset: 14% 11%; }
}
@keyframes panel-in-mobile { from { opacity: 0; transform: translate(50%, 7px) scale(.98); } to { opacity: 1; transform: translate(50%, 0) scale(1); } }
@media (max-width: 360px) { .topline-note { max-width: 130px; text-align: right; } .description { font-size: 11px; } }
@media (max-height: 640px) and (min-width: 681px) {
  main { padding: 30px 0; }
  .logo-frame { width: 210px; }
  .brand-group { margin-top: 12px; font-size: 8px; }
  .short-rule { height: 18px; margin: 22px auto 18px; }
  h1 { font-size: 52px; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ambient-light { transform: none; }
  .orbital-field { transform: translate(-50%, -50%) rotate(-32deg); }
}
