:root {
  --bg-primary: #272727;
  --bg-secondary: #2f2f2f;
  --orange-primary: #ff5c1b;
  --text-primary: #ffffff;
  --text-secondary: #b8b8b8;
  --stroke: rgba(255, 255, 255, 0.12);
  --shadow: rgba(0, 0, 0, 0.28);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

.page-shell {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 16px;
}

.topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 82px;
  margin-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.brand-name {
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  text-transform: lowercase;
  color: var(--text-primary);
}

.brand-tag {
  margin-top: 3px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-primary);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  min-height: 60vh;
  padding: 12px 0 12px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  animation: fadeUp 0.8s ease-out both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255, 92, 27, 0.12);
  border: 1px solid rgba(255, 92, 27, 0.35);
  color: var(--orange-primary);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(255, 92, 27, 0.06);
  animation: pulse 2.8s ease-in-out infinite;
}

h1 {
  margin: 1.4rem 0 1rem;
  font-size: clamp(4rem, 7vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
  font-weight: 800;
  max-width: 620px;
}

.lead {
  margin: 0;
  max-width: 640px;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.5;
  color: var(--text-secondary);
}

.sublead {
  margin: 1.7rem 0 0;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  opacity: 0.9;
}

.hero-visual {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1.55;
  display: grid;
  place-items: center;
  margin-inline: auto;
  animation: fadeUp 0.95s ease-out 0.1s both;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 10% 10% 10%;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.hero-visual svg {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.28));
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  z-index: 0;
}

.orbit-one {
  inset: 9% 14% 20% 13%;
  animation: drift 12s ease-in-out infinite alternate;
}

.orbit-two {
  inset: 18% 24% 32% 22%;
  animation: drift 14s ease-in-out infinite alternate-reverse;
}

.map-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 12 16;
}

.location-mark circle {
  fill: var(--orange-primary);
}

.institutional {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  text-align: center;
  padding: 1.1rem 0.8rem 0.9rem;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  margin-top: 0.8rem;
  color: var(--text-secondary);
  font-size: 1.02rem;
}

.institutional p {
  margin: 0;
  line-height: 1.4;
}

.institutional p:last-child {
  color: var(--text-primary);
  font-weight: 500;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.3rem 0 0.4rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  text-align: center;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--stroke);
  opacity: 0.9;
}

.footer-company,
.footer-copyright {
  margin: 0;
  max-width: 760px;
}

.footer-company {
  color: var(--text-primary);
  line-height: 1.5;
  font-size: 0.98rem;
}

.footer-company p {
  margin: 0;
}

.footer-company p + p {
  margin-top: 0.2rem;
}

.footer-copyright {
  color: var(--text-secondary);
  line-height: 1.5;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 92, 27, 0.12);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 92, 27, 0.04);
  }
}

@keyframes drift {
  0% {
    transform: scale(0.96) translateY(8px);
  }
  100% {
    transform: scale(1.04) translateY(-8px);
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(var(--max-width), calc(100% - 22px));
    padding-top: 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-top: 10px;
  }

  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .hero-visual {
    width: min(100%, 480px);
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer nav {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .brand {
    gap: 10px;
    padding: 8px 12px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-tag {
    letter-spacing: 0.12em;
  }

  .eyebrow {
    letter-spacing: 0.2em;
  }

  .institutional {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
