:root {
  color-scheme: dark;
  --black: #090909;
  --black-soft: #10100f;
  --gold: #c5a66c;
  --gold-light: #e3cb99;
  --gold-muted: rgba(197, 166, 108, 0.42);
  --white: #f2efe8;
  --muted: #9c978c;
  --font-display: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--black);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 38px 7vw 26px;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(119, 89, 39, 0.11), transparent 34%),
    linear-gradient(145deg, #0d0d0c, #080808 58%, #0c0b09);
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 44vw;
  height: 44vw;
  border: 1px solid rgba(197, 166, 108, 0.045);
  border-radius: 50%;
  pointer-events: none;
}

.ambient-one {
  top: -34vw;
  left: -21vw;
}

.ambient-two {
  right: -24vw;
  bottom: -34vw;
  width: 54vw;
  height: 54vw;
}

.landing-footer {
  width: min(1120px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-rule,
.footer-line {
  width: 42px;
  height: 1px;
  background: var(--gold-muted);
}

.landing-content {
  width: min(660px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 0;
  text-align: center;
  animation: rise-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.motion-emblem {
  width: 148px;
  height: 148px;
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
}

.motion-emblem:hover .emblem-logo {
  filter: drop-shadow(0 0 24px rgba(197, 166, 108, 0.38));
}

.motion-emblem:focus-visible {
  outline-offset: 7px;
}

.emblem-ring {
  z-index: 1;
  position: absolute;
  border: 1px solid var(--gold-muted);
  border-radius: 50%;
  pointer-events: none;
}

.ring-outer {
  inset: 2px;
  border-top-color: transparent;
  border-left-color: rgba(197, 166, 108, 0.2);
  animation: rotate 22s linear infinite;
}

.ring-inner {
  inset: 13px;
  border-right-color: transparent;
  border-bottom-color: rgba(227, 203, 153, 0.72);
  animation: rotate-back 15s linear infinite;
}

.emblem-logo {
  width: 78px;
  height: 78px;
  position: relative;
  z-index: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(197, 166, 108, 0.18));
  animation: breathe 4s ease-in-out infinite;
}

.ring-outer::after,
.ring-inner::after {
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  top: 50%;
  right: -2px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px rgba(227, 203, 153, 0.8);
}

.ring-inner::after {
  top: auto;
  right: auto;
  bottom: -2px;
  left: 50%;
  animation: orbit 9s linear infinite;
}

.eyebrow,
.choose-label {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
}

.landing-content h1 {
  margin: 15px 0 0;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: clamp(29px, 5vw, 46px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.7px;
}

.department-name {
  max-width: 490px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.choose-label {
  margin-top: 37px;
  color: #b7ad99;
  font-size: 9px;
  letter-spacing: 1.6px;
}

.questionnaire-options {
  width: min(490px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 17px;
}

.questionnaire-option {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 0 18px;
  border: 1px solid rgba(197, 166, 108, 0.36);
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(197, 166, 108, 0.055), rgba(197, 166, 108, 0.015));
  text-align: left;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.questionnaire-option:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(197, 166, 108, 0.14), rgba(197, 166, 108, 0.04));
  box-shadow: 0 8px 34px rgba(197, 166, 108, 0.09);
}

.option-index {
  color: #817251;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
}

.option-title {
  color: #eee8dc;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
}

.option-arrow {
  color: var(--gold);
  font-size: 16px;
  transition: transform 220ms ease;
}

.questionnaire-option:hover .option-arrow {
  transform: translate(2px, -2px);
}

.landing-footer {
  color: #807967;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.7px;
}

.landing-footer .footer-line {
  width: 30px;
}

.page-header {
  width: min(1120px, 100%);
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 7vw;
  border-bottom: 1px solid rgba(197, 166, 108, 0.15);
}

.logo-home-link {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  transition: filter 180ms ease, transform 180ms ease;
}

.logo-home-link:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 10px rgba(197, 166, 108, 0.3));
}

.logo-home-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.back-link {
  color: #c9b98f;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  transition: color 160ms ease;
}

.back-link:hover {
  color: var(--gold-light);
}

.placeholder-page {
  min-height: calc(100vh - 78px);
  min-height: calc(100svh - 78px);
  display: grid;
  place-items: center;
  padding: 30px 6vw;
  background:
    radial-gradient(ellipse at 50% 43%, rgba(119, 89, 39, 0.1), transparent 36%),
    var(--black);
  text-align: center;
}

.placeholder-panel {
  width: min(520px, 100%);
  padding: 56px 30px;
  border: 1px solid rgba(197, 166, 108, 0.2);
  background: rgba(197, 166, 108, 0.025);
}

.placeholder-number {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
}

.placeholder-panel h1 {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: clamp(25px, 6vw, 38px);
  font-weight: 500;
  letter-spacing: -1px;
}

.placeholder-panel > p {
  margin: 14px 0 26px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.placeholder-panel .back-link {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid rgba(197, 166, 108, 0.34);
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes rotate-back {
  to { transform: rotate(-360deg); }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes breathe {
  50% { transform: scale(1.16); opacity: 0.78; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .landing {
    min-height: 100vh;
    min-height: 100svh;
    padding: 25px 22px 21px;
  }

  .motion-emblem {
    width: 126px;
    height: 126px;
    margin-bottom: 29px;
  }

  .ring-inner {
    inset: 11px;
  }

  .emblem-logo {
    width: 66px;
    height: 66px;
  }

  .landing-content h1 {
    max-width: 380px;
    font-size: clamp(29px, 8vw, 38px);
  }

  .department-name {
    max-width: 360px;
    font-size: 11px;
  }

  .choose-label {
    margin-top: 31px;
  }

  .questionnaire-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .questionnaire-option {
    min-height: 62px;
  }

  .landing-footer {
    font-size: 7px;
    letter-spacing: 1.2px;
  }

  .page-header {
    min-height: 70px;
    padding: 0 22px;
  }

  .logo-home-link {
    width: 40px;
    height: 40px;
  }

  .placeholder-page {
    min-height: calc(100vh - 70px);
    min-height: calc(100svh - 70px);
  }

  .placeholder-panel {
    padding: 44px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
