:root {
  color-scheme: dark;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #181a17;
  color: #ddbf83;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-width: 280px; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 24px 50px; }
.brand-image { position: relative; width: min(680px, 87vw, 72svh); aspect-ratio: 1; animation: arrive 1.4s ease both; }
.brand-image img { display: block; width: 100%; height: auto; }
/* Display the exact emblem from the supplied JPEG in its own rotating window.
   The source image and its static wordmark/tagline remain untouched. */
.brand-emblem { position: absolute; left: 34%; top: 23.5%; width: 32%; height: 32%; background: #181a17; overflow: hidden; cursor: pointer; }
.emblem-rotor { display: block; width: 100%; height: 100%; background-image: url("./assets/raeone-logo.jpeg"); background-size: 312.5% 312.5%; background-position: 50% 34.5588235294%; animation: emblem-turn 18s linear infinite; }
.logo-motion-toggle { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.logo-motion-toggle:checked + .brand-emblem .emblem-rotor { animation-play-state: paused; }
.logo-motion-toggle:focus-visible + .brand-emblem { outline: 1px solid #ddbf83; outline-offset: 3px; }
.motion-hint { position: absolute; bottom: 3px; left: 0; right: 0; text-align: center; font-size: 8px; letter-spacing: .08em; color: #bdac8b; opacity: 0; transition: opacity .2s; }
.brand-emblem:hover .motion-hint, .logo-motion-toggle:focus-visible + .brand-emblem .motion-hint { opacity: 1; }
.announcement { text-align: center; margin-top: -20px; animation: arrive 1.5s .15s ease both; }
.fine-rule { width: 36px; height: 1px; background: #8a7650; margin: 0 auto 27px; }
h1 { font-size: 12px; font-weight: 400; letter-spacing: .32em; line-height: 1.8; text-transform: uppercase; margin: 0; padding-left: .32em; }
p { font-family: Georgia, "Times New Roman", serif; font-size: clamp(18px, 2.2vw, 24px); font-style: italic; color: #bdac8b; line-height: 1.6; margin: 19px 0 0; }
footer { display: flex; align-items: center; justify-content: space-between; padding: 23px clamp(24px, 5vw, 70px); border-top: 1px solid #3a3d31; color: #a69b7e; font-size: 9px; letter-spacing: .2em; }
::selection { color: #181a17; background: #ddbf83; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes emblem-turn { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  main { padding: 30px 18px 60px; }
  .brand-image { width: min(100vw, 65svh); max-width: calc(100vw - 36px); }
  .announcement { margin-top: 4px; }
  .fine-rule { margin-bottom: 24px; }
  h1 { font-size: 11px; }
  p { margin-top: 15px; font-size: 19px; }
  footer { font-size: 8px; padding-block: 20px; }
}
@media (max-height: 560px) and (min-width: 601px) {
  main { padding-block: 8px 28px; }
  .brand-image { width: 65svh; }
  .announcement { margin-top: -5px; }
  .fine-rule { margin-bottom: 13px; }
  p { margin-top: 9px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .logo-motion-toggle { display: none; }
  .brand-emblem { cursor: default; pointer-events: none; }
  .motion-hint { display: none; }
}
