@font-face {
  font-family: "Cinzel";
  src: url("../../../web-tools/front/design-system/assets/fonts/cinzel/cinzel-700-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel Decorative";
  src: url("../../../web-tools/front/design-system/assets/fonts/cinzel-decorative/cinzel-decorative-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Caudex";
  src: url("../../../web-tools/front/design-system/assets/fonts/caudex/caudex-400-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 184, 255, 0.72) rgba(7, 13, 24, 0.88);
}

body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 184, 255, 0.72) rgba(7, 13, 24, 0.88);
  background: #060d1a;
  color: #e8f0ff;
  font-family: 'Caudex';
  font-size: 16px;
  line-height: 1.6;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.universe-detail-panel::-webkit-scrollbar,
.team-detail-panel::-webkit-scrollbar,
.about-inner-detail-body::-webkit-scrollbar,
.universe-detail-strip::-webkit-scrollbar {
  width: 0.82rem;
  height: 0.82rem;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.universe-detail-panel::-webkit-scrollbar-track,
.team-detail-panel::-webkit-scrollbar-track,
.about-inner-detail-body::-webkit-scrollbar-track,
.universe-detail-strip::-webkit-scrollbar-track {
  background: rgba(7, 13, 24, 0.78);
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.universe-detail-panel::-webkit-scrollbar-thumb,
.team-detail-panel::-webkit-scrollbar-thumb,
.about-inner-detail-body::-webkit-scrollbar-thumb,
.universe-detail-strip::-webkit-scrollbar-thumb {
  border: 0.16rem solid rgba(7, 13, 24, 0.92);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(159, 219, 255, 0.92), rgba(77, 151, 255, 0.88));
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.universe-detail-panel::-webkit-scrollbar-thumb:hover,
.team-detail-panel::-webkit-scrollbar-thumb:hover,
.about-inner-detail-body::-webkit-scrollbar-thumb:hover,
.universe-detail-strip::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(204, 236, 255, 0.98), rgba(104, 171, 255, 0.96));
}


#section-container {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

#section-stage {
  position: relative;
  min-height: inherit;
  isolation: isolate;
}

#section-stage > section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}


#background-animation {
  position: fixed;
  z-index: 0;
  overflow: hidden;
  top: 50%;
  left: 50%;
  width: 110vw;
  height: 110vh;
  height: 110dvh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.canvas-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#content {
  position: relative;
  z-index: 50;
}

#main-nav,
#main-nav *,
#main-title,
#main-title *,
#main-subtitle,
#main-subtitle *,
.menu-card,
.menu-card * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.is-swipe-gesture-active,
.is-swipe-gesture-active * {
  -webkit-user-select: none !important;
  user-select: none !important;
}


#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  background: linear-gradient(to bottom, rgba(3,8,15,0.97) 0%, rgba(3,8,15,0.78) 70%, rgba(3,8,15,0.14) 100%);
  opacity: 0;
  transform: translateY(-0.8rem);
  transition: opacity 0.9s ease 0.15s, transform 0.9s ease 0.15s;
}

#content.revealed #main-nav {
  opacity: 1;
  transform: translateY(0);
}

#nav-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

#nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

#nav-logo {
  display: inline-flex;
  align-items: center;
  font-family: 'Cinzel';
  font-size: 1.25rem;
  letter-spacing: 0.25em;
  color: #4499ff;
  text-transform: uppercase;
  text-shadow: 0 0 1.125rem rgba(68,153,255,0.6);
  white-space: nowrap;
  cursor: pointer;
  border-radius: 0.2rem;
}

#nav-logo:focus-visible {
  outline: 2px solid rgba(166, 219, 255, 0.82);
  outline-offset: 0.25rem;
}

#nav-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: rgba(6,13,26,0.72);
  border: 1px solid rgba(232,240,255,0.15);
  border-radius: 0.3rem;
  color: rgba(232,240,255,0.78);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

#nav-menu-toggle:hover {
  border-color: rgba(68,153,255,0.45);
  background: rgba(68,153,255,0.1);
  color: #e8f0ff;
}

.nav-menu-chevron {
  width: 0.55rem;
  height: 0.8rem;
  transition: transform 0.25s ease;
}

#main-nav.menu-open:not(.compact-nav) .nav-menu-chevron {
  transform: rotate(180deg);
}

#main-nav.compact-nav .nav-menu-chevron {
  transform: rotate(0deg);
}

#main-nav.compact-nav.menu-open .nav-menu-chevron {
  transform: rotate(90deg);
}

#nav-links {
  display: flex;
  gap: 0.3rem;
  list-style: none;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-0.45rem);
  transition: max-width 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
}

#main-nav.menu-open:not(.compact-nav) #nav-links {
  max-width: 60rem;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

#main-nav.compact-nav #nav-left {
  gap: 0.8rem;
}

#main-nav.compact-nav #nav-links {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 1rem;
  right: 1rem;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.45rem;
  background: rgba(6,13,26,0.96);
  border: 1px solid rgba(68,153,255,0.18);
  border-radius: 0.45rem;
  box-shadow: 0 0.9rem 2rem rgba(3,8,15,0.35);
  max-width: none;
  opacity: 0;
  transform: translateY(-0.45rem);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#main-nav.compact-nav.menu-open #nav-links {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#main-nav.compact-nav #nav-links li {
  width: 100%;
}

#main-nav.compact-nav .nav-btn {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  padding: 0.55rem 0.7rem;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
}

.nav-btn {
  font-family: 'Cinzel';
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(232,240,255,0.6);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.2rem;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: color 0.3s, background 0.3s, border-color 0.3s, text-shadow 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}

.nav-btn:hover {
  color: #e8f0ff;
  text-shadow: 0 0 0.625rem rgba(68,153,255,0.5);
  border-color: rgba(68,153,255,0.25);
  background: rgba(68,153,255,0.06);
}

.nav-btn.active {
  color: #b8ffd0;
  border-color: rgba(39,174,96,0.5);
  background: rgba(39,174,96,0.1);
  text-shadow: 0 0 0.8rem rgba(39,174,96,0.5);
  box-shadow: 0 0 0.6rem rgba(39,174,96,0.15);
}


#admin-btn {
  background: transparent;
  border: 1px solid rgba(232,240,255,0.15);
  border-radius: 0.3rem;
  padding: 0.35rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}

#admin-btn:hover {
  border-color: rgba(68,153,255,0.5);
  background: rgba(68,153,255,0.08);
}


#lang-selector {
  position: relative;
}

#lang-current {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(6,13,26,0.7);
  border: 1px solid rgba(232,240,255,0.15);
  border-radius: 0.3rem;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  color: rgba(232,240,255,0.8);
  font-family: 'Caudex';
  font-size: 0.975rem;
  transition: border-color 0.3s, background 0.3s;
}

#lang-current:hover {
  border-color: rgba(68,153,255,0.5);
  background: rgba(68,153,255,0.08);
}

.lang-flag {
  width: 1.4rem;
  height: 1rem;
  flex-shrink: 0;
  border-radius: 1px;
}

#lang-code-current {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lang-chevron {
  width: 0.65rem;
  height: 0.5rem;
  color: rgba(232,240,255,0.5);
  transition: transform 0.25s;
}

#lang-selector.open .lang-chevron {
  transform: rotate(180deg);
}

#lang-dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 100%;
  background: rgba(6,13,26,0.95);
  border: 1px solid rgba(68,153,255,0.2);
  border-radius: 0.3rem;
  padding: 0.3rem;
  opacity: 0;
  transform: translateY(-0.3rem);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

#lang-selector.open #lang-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0.2rem;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: rgba(232,240,255,0.7);
  font-family: 'Caudex';
  font-size: 0.975rem;
  text-align: left;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.lang-option:hover {
  background: rgba(68,153,255,0.12);
  color: #e8f0ff;
}

.lang-option.active {
  color: #4499ff;
}


#section-universe {
  padding: 5rem 2rem 3rem;
}


#main-title {
  position: relative;
  isolation: isolate;
  text-wrap: balance;
  font-family: 'Cinzel';
  font-size: clamp(3.25rem, 8.75vw, 6.875rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #a8d4ff 45%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

#main-title::before,
#main-title::after {
  content: attr(data-text);
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  white-space: normal;
  text-align: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-wrap: inherit;
}

#main-title::before {
  z-index: -1;
  color: rgba(255,255,255,0.22);
  -webkit-text-fill-color: currentColor;
  filter: blur(0.05em);
  opacity: 0.85;
}

#main-title::after {
  z-index: -2;
  color: rgba(100,180,255,0.5);
  -webkit-text-fill-color: currentColor;
  filter: blur(0.16em);
  opacity: 0.62;
}

#main-title.is-visible {
  opacity: 1;
  clip-path: inset(0 0% 0 0);
}

#main-title.reveal-start {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}


#main-subtitle {
  position: relative;
  display: inline-grid;
  place-items: center;
  font-family: 'Cinzel';
  font-size: clamp(1.0625rem, 2.5vw, 1.625rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 3.5rem;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
}

#main-subtitle .subtitle-base,
#main-subtitle .subtitle-glint {
  grid-area: 1 / 1;
  display: block;
  white-space: nowrap;
}

#main-subtitle .subtitle-base {
  color: rgba(168,212,255,0.88);
  text-shadow: 0 0 1.1rem rgba(100,180,255,0.34);
}

#main-subtitle.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

#main-subtitle.intro-animate {
  animation: subtitleRevealMask 0.28s linear forwards;
}

#main-subtitle .subtitle-glint {
  pointer-events: none;
  color: transparent;
  opacity: 0;
  background-image: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0.96) 48%,
    rgba(255,215,0,0.92) 50%,
    rgba(255,255,255,0.96) 52%,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,0) 100%
  );
  background-repeat: no-repeat;
  background-size: 220% 100%;
  background-position: 130% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#main-subtitle.intro-animate .subtitle-glint {
  animation: subtitleGlintSweep 0.75s ease-out 0.10s 1 forwards;
}

@keyframes subtitleRevealMask {
  0%   { opacity: 1; clip-path: inset(0 0 100% 0); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes subtitleGlintSweep {
  0%   { opacity: 0; background-position: 130% 0; }
  12%  { opacity: 1; }
  100% { opacity: 0; background-position: -35% 0; }
}


#menu-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 60rem;
  width: 100%;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(1.5rem);
}

#menu-cards.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#menu-cards.reveal {
  animation: cardsReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes cardsReveal {
  0%   { opacity: 0; transform: translateY(1.5rem); }
  100% { opacity: 1; transform: translateY(0); }
}

.menu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  gap: 1rem;
  padding: 2rem 1rem 1.8rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)),
    rgba(6,13,26,0.78);
  border: 1px solid rgba(103,170,255,0.22);
  border-radius: 0.5rem;
  cursor: pointer;
  color: #e8f0ff;
  font-family: 'Cinzel';
  overflow: visible;
  transition: border-color 0.35s, background 0.35s, box-shadow 0.35s, transform 0.35s;
}

.menu-card:hover {
  border-color: rgba(122,188,255,0.56);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    rgba(68,153,255,0.11);
  box-shadow: 0 0 1.8rem rgba(68,153,255,0.19), inset 0 0 1rem rgba(68,153,255,0.08);
  transform: translateY(-0.25rem);
}

.menu-card-icon {
  width: 4.5rem;
  height: 4.5rem;
  color: #4499ff;
  opacity: 0.85;
  transition: opacity 0.3s, filter 0.3s;
  overflow: visible;
}

.menu-card-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.menu-card:hover .menu-card-icon {
  opacity: 1;
  filter: drop-shadow(0 0 0.4rem rgba(68,153,255,0.35));
}

.menu-card-label {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  font-size: clamp(0.79rem, 0.73rem + 0.15vw, 0.9rem);
  letter-spacing: clamp(0.04em, 0.03em + 0.06vw, 0.08em);
  text-transform: uppercase;
  color: rgba(232,240,255,0.8);
  transition: color 0.3s;
}

.menu-card:hover .menu-card-label {
  color: #e8f0ff;
}

#menu-cards.reveal .menu-card {
  opacity: 0;
  animation: cardFadeUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

#menu-cards.reveal .menu-card:nth-child(1) { animation-delay: 0.05s; }
#menu-cards.reveal .menu-card:nth-child(2) { animation-delay: 0.15s; }
#menu-cards.reveal .menu-card:nth-child(3) { animation-delay: 0.25s; }
#menu-cards.reveal .menu-card:nth-child(4) { animation-delay: 0.35s; }

@keyframes cardFadeUp {
  0%   { opacity: 0; transform: translateY(1.2rem) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}


.page-section {
  padding: 6rem 2rem;
}

.page-section h2 {
  font-family: 'Cinzel';
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #e8f0ff;
  margin-bottom: 1.6rem;
}

.page-section p {
  color: rgba(232,240,255,0.76);
  font-size: 0.97rem;
  line-height: 1.8;
}


/* ── About Section ────────────────────────────────────── */

#section-about,
#section-contact,
#section-team {
  align-items: stretch;
  justify-content: flex-start;
  padding: 7rem 0 4rem;
  text-align: left;
  justify-content: start !important;
}

.about-fallback,
.contact-fallback {
  width: min(100%, 44rem);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.about-shell,
.contact-shell {
  width: min(100%, 76rem);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.about-header,
.contact-header {
  width: min(100%, 68rem);
  margin: 0 auto 2.2rem;
}

.about-section-title,
.contact-section-title {
  margin-bottom: 0;
}

.about-sequence {
  display: flex;
  flex-direction: column;
  gap: 3.35rem;
}

.about-block-stage {
  width: min(100%, 68rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about-block {
  position: relative;
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(19rem, 0.98fr) minmax(0, 1.02fr);
  grid-template-areas:
    "media copy"
    "detail detail";
  align-items: stretch;
  gap: 1.65rem 1.8rem;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid rgba(106,176,255,0.2);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top left, rgba(111, 175, 255, 0.14), transparent 24rem),
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
    rgba(6,13,26,0.96);
  box-shadow:
    0 1.7rem 4rem rgba(3,8,15,0.32),
    inset 0 0 1.1rem rgba(97,158,255,0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-block-media {
  grid-area: media;
  position: relative;
  min-height: clamp(20rem, 28vw, 26rem);
  height: 100%;
  border-radius: 1.05rem;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  align-self: stretch;
}

.about-block-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(5,10,18,0.82), rgba(5,10,18,0));
  pointer-events: none;
}

.about-block-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-block-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.25rem;
  padding: 0.3rem 0.15rem;
  align-self: start;
}

.about-block-title {
  font-family: 'Cinzel';
  font-size: clamp(1.45rem, 1rem + 1.4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #f0f6ff;
}

.about-block-content {
  color: rgba(232,240,255,0.84);
  font-size: 1rem;
  line-height: 1.88;
  max-width: none;
  text-align: left;
  white-space: pre-line;
}

.about-inner-zone {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.7rem;
}

.about-inners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.about-inner-card {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    rgba(8,16,30,0.88);
  border: 1px solid rgba(96,164,255,0.16);
  border-radius: 1rem;
  overflow: visible;
  transition: border-color 0.3s, transform 0.28s, box-shadow 0.3s, background 0.3s;
}

.about-inner-card:hover {
  border-color: rgba(68,153,255,0.25);
  background: rgba(68,153,255,0.06);
  transform: translateY(-0.12rem);
  box-shadow: 0 0.9rem 2rem rgba(3,8,15,0.28);
}

.about-inner-card[data-expanded="true"] {
  border-color: rgba(39,174,96,0.5);
  background: rgba(39,174,96,0.1);
  box-shadow: 0 0 0.6rem rgba(39,174,96,0.15);
}

.about-inner-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
  padding: 0.5rem 0.5rem;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
  border-radius: inherit;
}

.about-inner-toggle:focus-visible,
.universe-detail-thumb:focus-visible {
  outline: 2px solid rgba(166, 219, 255, 0.82);
  outline-offset: 2px;
}

.about-inner-header-copy {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.about-inner-img {
  width: 3.2rem;
  height: 3.2rem;
  flex-shrink: 0;
}

.about-inner-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.about-inner-title {
  font-family: 'Cinzel';
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  color: rgba(245,250,255,0.94);
}

.about-inner-card[data-expanded="true"] .about-inner-title {
  color: #b8ffd0;
  text-shadow: 0 0 0.8rem rgba(39,174,96,0.5);
}

.about-inner-detail-panel {
  grid-area: detail;
  grid-column: 1 / -1;
  width: 100%;
  min-height: 0;
  height: clamp(12.5rem, 24vw, 16.5rem);
  touch-action: pan-y;
}

.about-inner-detail-frame,
.about-inner-detail-body {
  touch-action: pan-y;
}

.about-inner-detail-frame {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  min-height: 0;
  height: 100%;
  padding: 1.25rem 1.3rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(116,182,255,0.14);
  background:
    radial-gradient(circle at top left, rgba(93,165,255,0.1), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01)),
    rgba(8,16,30,0.86);
  box-shadow: inset 0 0 1rem rgba(92,160,255,0.04);
}

.about-inner-detail-title {
  font-family: 'Cinzel';
  font-size: clamp(1rem, 0.9rem + 0.44vw, 1.28rem);
  letter-spacing: 0.05em;
  color: #f3f8ff;
  text-align: left;
}

.about-inner-detail-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  color: rgba(232,240,255,0.84);
  font-size: 0.97rem;
  line-height: 1.82;
  max-width: none;
  white-space: pre-line;
  text-align: left;
  padding-right: 0.2rem;
}

/* ── Contact Section ──────────────────────────────────── */

.contact-form-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form-section .contact-section-title {
  width: min(100%, 68rem);
  margin: 0 auto;
  color: #f3f8ff;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 0.08rem 0 rgba(255,255,255,0.95),
    0 0 0.65rem rgba(186,222,255,0.55),
    0 0 2.2rem rgba(68,153,255,0.28);
}

.contact-title-rule {
  position: relative;
  width: min(16rem, 46vw);
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.9rem auto 1.35rem;
  filter: drop-shadow(0 0 0.75rem rgba(160,210,255,0.9));
}

.contact-title-rule::before,
.contact-title-rule::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 1.35rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,224,255,0.45));
}

.contact-title-rule::before {
  left: 0;
}

.contact-title-rule::after {
  right: 0;
  transform: scaleX(-1);
}

.contact-title-star {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.contact-form-panel {
  position: relative;
  isolation: isolate;
  width: min(100%, 62rem);
  min-height: 25.7rem;
  display: flex;
  flex-direction: column;
  gap: 1.55rem;
  margin: 0 auto;
  padding: clamp(1.55rem, 3vw, 2.35rem) clamp(1.3rem, 4vw, 8.8rem) 1.55rem;
  border: 1px solid rgba(82,152,241,0.34);
  border-radius: 1.25rem;
  overflow: hidden;
  background-color: rgba(5,12,24,0.82);
  background-image: linear-gradient(180deg, rgba(8,18,35,0.67), rgba(5,12,24,0.79));
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow:
    0 1.9rem 4rem rgba(2,7,14,0.42),
    inset 0 0 1.1rem rgba(129,189,255,0.08);
}

.contact-form-panel::before,
.contact-form-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.contact-form-panel::before {
  background:
    radial-gradient(circle at 18% 36%, rgba(70,138,255,0.08), transparent 17rem),
    radial-gradient(circle at 85% 42%, rgba(150,205,255,0.07), transparent 16rem),
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
}

.contact-form-panel::after {
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    inset 0 0 3rem rgba(80,152,255,0.08);
}

.contact-top-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.8rem);
}

.contact-field {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  text-align: left;
}

.contact-label {
  align-self: flex-start;
  font-family: 'Cinzel';
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: rgba(248,251,255,0.92);
  text-align: left;
  text-shadow: 0 0 0.45rem rgba(155,205,255,0.18);
}

.contact-field-shell {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(165,199,241,0.3);
  border-radius: 0.35rem;
  background:
    radial-gradient(circle at 92% 50%, rgba(111,176,255,0.08), transparent 7rem),
    rgba(5,12,24,0.64);
  box-shadow:
    inset 0 0 0.85rem rgba(0,0,0,0.22),
    0 0 0 rgba(68,153,255,0);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.contact-field-shell:focus-within {
  border-color: rgba(165,219,255,0.72);
  background:
    radial-gradient(circle at 92% 50%, rgba(124,190,255,0.12), transparent 7rem),
    rgba(7,16,31,0.76);
  box-shadow:
    0 0 0.85rem rgba(105,174,255,0.18),
    inset 0 0 0.8rem rgba(0,0,0,0.2);
}

.contact-field-shell.is-invalid {
  border-color: rgba(255,92,92,0.78);
  box-shadow:
    0 0 0.95rem rgba(255,72,72,0.24),
    inset 0 0 0.8rem rgba(108,12,20,0.2);
  animation: contact-field-error-pulse 0.72s ease-in-out 2;
}

.contact-input,
.contact-textarea {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #eef7ff;
  font-family: 'Caudex';
  font-size: 0.96rem;
  letter-spacing: 0;
  line-height: 1.35;
  caret-color: #a7dbff;
}

.contact-input {
  min-height: 2.38rem;
  padding: 0.64rem 2.7rem 0.64rem 0.8rem;
}

.contact-textarea {
  min-height: clamp(10.5rem, 22vw, 12.9rem);
  padding: 0.85rem 2.7rem 0.85rem 0.8rem;
  resize: none;
}

.contact-textarea::-webkit-resizer {
  display: none;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: rgba(214,226,244,0.48);
}

.contact-input:is(:autofill, :-webkit-autofill),
.contact-input:is(:autofill, :-webkit-autofill):hover,
.contact-input:is(:autofill, :-webkit-autofill):focus,
.contact-input:is(:autofill, :-webkit-autofill):active {
  border-radius: inherit;
  background-color: transparent;
  color: #eef7ff;
  caret-color: #a7dbff;
  -webkit-text-fill-color: #eef7ff;
  box-shadow: none;
  -webkit-box-shadow: none;
  transition: background-color 999999s ease-out 0s, color 999999s ease-out 0s;
}

.contact-field-star {
  position: absolute;
  top: 50%;
  right: 0.74rem;
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.76;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 0.45rem rgba(174,218,255,0.55));
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.contact-field-shell.is-textarea-shell .contact-field-star {
  top: calc(0.85rem + 0.65rem);
}

.contact-field.is-invalid .contact-field-star {
  opacity: 1;
  filter:
    drop-shadow(0 0 0.35rem rgba(255,127,127,0.95))
    drop-shadow(0 0 0.85rem rgba(255,50,50,0.4));
  animation: contact-invalid-star-rise 0.82s ease-out;
}

.contact-message-field {
  gap: 0.7rem;
}

.contact-message-footer {
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-message-meter {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.9rem;
  color: rgba(151,192,246,0.82);
  font-size: 0.82rem;
  line-height: 1.4;
}

.contact-message-count {
  color: rgba(218,236,255,0.88);
}

.contact-message-actions {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.contact-submit-btn {
  position: relative;
  min-width: 10.65rem;
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.65rem;
  border: 1px solid rgba(65,207,135,0.62);
  border-radius: 0.35rem;
  background:
    radial-gradient(circle at 18% 50%, rgba(172,255,199,0.18), transparent 2.4rem),
    linear-gradient(180deg, rgba(17,63,53,0.7), rgba(5,40,31,0.8));
  color: #f4fff8;
  font-family: 'Cinzel';
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow:
    0 0 0.9rem rgba(41,184,110,0.17),
    inset 0 0 1.2rem rgba(71,255,141,0.06);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.contact-submit-star {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter:
    drop-shadow(0 0 0.4rem rgba(111,255,163,0.72))
    drop-shadow(0 0 0.75rem rgba(171,222,255,0.32));
}

.contact-submit-label {
  min-width: 0;
}

.contact-submit-btn:hover,
.contact-submit-btn:focus-visible {
  border-color: rgba(107,247,169,0.86);
  filter: brightness(1.06);
  transform: translateY(-0.05rem);
  box-shadow:
    0 0 1.2rem rgba(41,184,110,0.25),
    inset 0 0 1.5rem rgba(71,255,141,0.1);
  outline: none;
}

.contact-submit-btn:active {
  transform: translateY(0);
}

.contact-submit-btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-submit-btn:disabled:hover,
.contact-submit-btn:disabled:focus-visible {
  border-color: rgba(65,207,135,0.62);
  filter: none;
  transform: none;
  box-shadow:
    0 0 0.9rem rgba(41,184,110,0.17),
    inset 0 0 1.2rem rgba(71,255,141,0.06);
}

.contact-translation-proxy {
  display: none;
}

.contact-flying-error {
  position: absolute;
  z-index: 10060;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: min(16rem, calc(100vw - 1.5rem));
  margin: 0;
  padding: 0;
  color: #ff7373;
  font-family: 'Caudex';
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-shadow:
    0 0.1rem 0.45rem rgba(88,9,13,0.8),
    0 0 0.65rem rgba(255,72,72,0.32);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, -50%, 0);
  animation: contact-flying-error-lifecycle 1.9s linear forwards;
  will-change: opacity, transform;
}

.contact-flying-error-star {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 0.55rem rgba(255,100,100,0.75));
}

.contact-flying-error-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-flying-submit-status {
  position: absolute;
  z-index: 10060;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: min(26rem, calc(100vw - 1.5rem));
  margin: 0;
  padding: 0;
  color: rgba(167,255,198,0.94);
  font-family: 'Caudex';
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-shadow:
    0 0.1rem 0.45rem rgba(6,54,31,0.8),
    0 0 0.75rem rgba(53,235,128,0.36);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, -100%, 0);
  animation: contact-flying-submit-status-lifecycle 2.4s linear forwards;
  will-change: opacity, transform;
}

.contact-flying-submit-status.is-error {
  color: rgba(255,124,124,0.94);
  text-shadow:
    0 0.1rem 0.45rem rgba(88,9,13,0.8),
    0 0 0.75rem rgba(255,72,72,0.34);
}

.contact-flying-submit-status-star {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter:
    drop-shadow(0 0 0.45rem rgba(111,255,163,0.7))
    drop-shadow(0 0 0.85rem rgba(171,222,255,0.32));
}

.contact-flying-submit-status.is-error .contact-flying-submit-status-star {
  filter: drop-shadow(0 0 0.55rem rgba(255,100,100,0.75));
}

.contact-flying-submit-status-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes contact-flying-error-lifecycle {
  0% {
    opacity: 0;
    transform: translate3d(0, -34%, 0) scale(0.98);
  }

  12% {
    opacity: 1;
    transform: translate3d(0, -50%, 0) scale(1);
  }

  55% {
    opacity: 1;
    transform: translate3d(0, calc(-50% - 0.24rem), 0) scale(1);
  }

  88% {
    opacity: 1;
    transform: translate3d(0, -50%, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(0, calc(-50% - 0.15rem), 0) scale(0.98);
  }
}

@keyframes contact-flying-submit-status-lifecycle {
  0% {
    opacity: 0;
    transform: translate3d(0, calc(-100% + 0.22rem), 0) scale(0.98);
  }

  12% {
    opacity: 1;
    transform: translate3d(0, -100%, 0) scale(1);
  }

  70% {
    opacity: 1;
    transform: translate3d(0, calc(-100% - 0.18rem), 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(0, calc(-100% - 0.32rem), 0) scale(0.98);
  }
}

@keyframes contact-field-error-pulse {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.04rem);
  }
}

@keyframes contact-invalid-star-rise {
  0% {
    transform: translateY(-50%) scale(0.8);
  }

  45% {
    transform: translateY(calc(-50% - 0.28rem)) scale(1.18);
  }

  100% {
    transform: translateY(-50%) scale(1);
  }
}

/* Universe Detail Overlay */

.universe-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 270;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 16%, rgba(125,184,255,0.16), transparent 24rem),
    radial-gradient(circle at 14% 18%, rgba(255,215,122,0.08), transparent 18rem),
    linear-gradient(180deg, rgba(2,4,9,0.84), rgba(3,8,15,0.94));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.universe-detail-overlay[data-active="true"] {
  opacity: 1;
  pointer-events: auto;
}

.universe-detail-panel {
  position: relative;
  width: min(94vw, 80rem);
  max-height: 88vh;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding: 1.65rem 1.55rem 1.4rem;
  border-radius: 1.45rem;
  border: 1px solid rgba(126,190,255,0.2);
  background:
    radial-gradient(circle at top left, rgba(97,165,255,0.12), transparent 24rem),
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
    rgba(6,13,26,0.985);
  box-shadow: 0 2.3rem 4.4rem rgba(0,0,0,0.42);
  isolation: isolate;
  transform: translate3d(0, 1rem, 0);
  will-change: transform;
  transition: transform 0.35s ease;
}

.universe-detail-overlay[data-active="true"] .universe-detail-panel {
  transform: translate3d(0, 0, 0);
}

.universe-detail-close,
.team-detail-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 0.12rem solid currentColor;
  border-radius: 999rem;
  background: rgba(28, 27, 41, 0.48);
  color: #922b21;
  box-shadow: 0 0 0.9rem rgba(146, 43, 33, 0.2);
  font-family: "Cinzel Decorative";
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.universe-detail-close:hover,
.team-detail-close:hover {
  transform: translateY(-0.06rem) scale(1.04);
  background: rgba(38, 20, 20, 0.72);
  color: #c0392b;
  filter: brightness(1.08);
}

.universe-detail-content {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.universe-detail-focus-stage {
  height: clamp(19.35rem, 46.8vh, 25.2rem);
  min-height: 0;
  touch-action: pan-y;
}

.universe-detail-empty[hidden],
.universe-detail-focus-card[hidden] {
  display: none !important;
}

.universe-detail-hero {
  padding: 0.2rem 2.6rem 0.6rem 0.1rem;
  border-bottom: 1px solid rgba(106,176,255,0.14);
  margin-bottom: 0.2rem;
}

.universe-detail-title {
  font-family: 'Cinzel';
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  letter-spacing: 0.06em;
  color: #f3f8ff;
}

.universe-detail-strip {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.42rem 0.42rem 0.95rem;
  margin: -0.3rem -0.3rem -0.35rem;
  scroll-padding-inline: 0.42rem;
  scroll-snap-type: x proximity;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
}

.universe-detail-strip.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.universe-detail-thumb {
  position: relative;
  isolation: isolate;
  flex: 0 0 9.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.6rem;
  border: 1px solid rgba(96,164,255,0.16);
  border-radius: 1rem;
  background: rgba(8,16,30,0.92);
  color: #e8f0ff;
  text-align: center;
  cursor: pointer;
  scroll-snap-align: start;
  overflow: visible;
  -webkit-user-select: none;
  user-select: none;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.universe-detail-thumb * {
  -webkit-user-select: none;
  user-select: none;
}

.universe-detail-thumb:hover {
  transform: translateY(-0.08rem);
  border-color: rgba(68,153,255,0.25);
  background: rgba(68,153,255,0.06);
}

.universe-detail-thumb.is-active {
  border-color: rgba(39,174,96,0.5);
  background: rgba(39,174,96,0.1);
  box-shadow: 0 0 0.6rem rgba(39,174,96,0.15);
}

.universe-detail-thumb-img,
.universe-detail-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16 / 16;
  border-radius: 0.8rem;
}

.universe-detail-thumb-img {
  pointer-events: none;
  -webkit-user-drag: none;
}

.universe-detail-thumb-placeholder {
  background: rgba(68,153,255,0.08);
  pointer-events: none;
}

.universe-detail-thumb-title {
  font-family: 'Cinzel';
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(243,248,255,0.94);
  white-space: normal;
  pointer-events: none;
}

.universe-detail-thumb.is-active .universe-detail-thumb-title {
  color: #b8ffd0;
  text-shadow: 0 0 0.8rem rgba(39,174,96,0.5);
}

.universe-detail-empty {
  display: flex;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  height: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(96, 164, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    rgba(8,16,30,0.95);
}

.universe-detail-empty-body {
  color: rgba(232,240,255,0.8);
  font-size: 0.95rem;
  max-width: none;
  text-align: left;
}

.universe-detail-focus-card {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 0.9rem;
  height: 100%;
  min-height: 0;
  padding: 0.99rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(96,164,255,0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.018)),
    rgba(8,16,30,0.95);
  overflow: hidden;
  touch-action: pan-y;
}

.universe-detail-focus-media,
.universe-detail-focus-img,
.universe-detail-focus-copy,
.universe-detail-focus-body {
  touch-action: pan-y;
}

.universe-detail-focus-card[data-has-media="false"] {
  grid-template-columns: 1fr;
}

.universe-detail-focus-media {
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 0.95rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.universe-detail-focus-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  -webkit-user-drag: none;
}

.universe-detail-focus-copy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.universe-detail-focus-title {
  font-family: 'Cinzel';
  font-size: clamp(1.02rem, 0.96rem + 0.4vw, 1.28rem);
  letter-spacing: 0.04em;
  color: #f2f7ff;
}

.universe-detail-focus-body {
  flex: 1 1 auto;
  min-height: 0;
  color: rgba(232,240,255,0.82);
  font-size: 0.96rem;
  line-height: 1.8;
  max-width: none;
  white-space: pre-line;
  overflow: auto;
  padding-right: 0.2rem;
  text-align: left;
}

.universe-detail-entry-link {
  align-self: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  margin-top: auto;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(232,240,255,0.9);
  text-decoration: none;
  font-family: 'Cinzel';
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  transition: color 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

.universe-detail-entry-link:hover {
  color: #fff0cb;
  filter: drop-shadow(0 0 0.35rem rgba(255, 212, 128, 0.22));
}

.universe-detail-entry-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  color: currentColor;
}

.universe-detail-entry-link-label {
  display: block;
  line-height: 1;
  text-align: center;
}

@media (max-width: 980px) {
  .about-block {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "copy"
      "detail";
    align-items: center;
  }

  .about-block-media {
    aspect-ratio: 16 / 10;
    min-height: 14rem;
    height: auto;
    align-self: start;
  }

  .about-inner-detail-frame,
  .universe-detail-focus-card {
    grid-template-columns: 1fr;
  }

  .universe-detail-focus-copy {
    order: 1;
  }

  .universe-detail-focus-media {
    order: 2;
  }

  .universe-detail-focus-stage {
    height: auto;
    min-height: clamp(19.35rem, 56.7vh, 26.1rem);
  }
}


/* ── Team Section ─────────────────────────────────────── */

#section-team {
  align-items: center;
  padding-top: 7rem;
}

#section-team > h2 {
  width: min(100%, 56rem);
  margin: 0 auto 1.6rem;
  padding: 0 1rem;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}

.team-grid-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 1 calc((100% - 4.5rem) / 4);
  min-width: 11rem;
  gap: 0.6rem;
  padding: 1.5rem 1rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)),
    rgba(6,13,26,0.9);
  border: 1px solid rgba(68,153,255,0.14);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.team-grid-card:hover {
  border-color: rgba(68,153,255,0.4);
  background: rgba(68,153,255,0.06);
  transform: translateY(-0.2rem);
  box-shadow: 0 0.5rem 1.5rem rgba(3,8,15,0.3);
}

.team-grid-card-img {
  width: 10rem;
  height: 10rem;
}

.team-grid-card-img-placeholder {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(68,153,255,0.08);
}

.team-grid-card-name {
  font-family: 'Cinzel';
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #e8f0ff;
  text-align: center;
}

.team-grid-card-occupation {
  font-size: 0.8rem;
  color: rgba(232,240,255,0.78);
  text-align: center;
  max-width: none;
}

/* Team detail overlay */
.team-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 275;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 16%, rgba(125,184,255,0.14), transparent 24rem),
    linear-gradient(180deg, rgba(2,4,9,0.86), rgba(3,8,15,0.95));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.team-detail-overlay[data-active="true"] {
  opacity: 1;
  pointer-events: auto;
}

.team-detail-panel {
  position: relative;
  width: min(94vw, 48rem);
  max-height: 88vh;
  overflow-y: auto;
  scrollbar-gutter: stable;
  background:
    radial-gradient(circle at top left, rgba(92,160,255,0.12), transparent 18rem),
    rgba(6,13,26,0.96);
  border: 1px solid rgba(68,153,255,0.22);
  border-radius: 1.15rem;
  box-shadow: 0 2rem 4rem rgba(0,0,0,0.4);
  padding: 2rem 1.5rem 1.45rem;
  isolation: isolate;
  transform: translateY(1rem) scale(0.985);
  transition: transform 0.35s ease;
}

.team-detail-overlay[data-active="true"] .team-detail-panel {
  transform: translateY(0) scale(1);
}

.team-detail-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(68,153,255,0.12);
}

.team-detail-img {
  width: 6rem;
  height: 6rem;
  flex-shrink: 0;
}

.team-detail-identity {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.team-detail-name {
  font-family: 'Cinzel';
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #e8f0ff;
}

.team-detail-occupation {
  font-size: 0.92rem;
  color: rgba(232,240,255,0.6);
  max-width: none;
}

.team-detail-email {
  color: rgba(68,153,255,0.8);
  font-size: 0.88rem;
  user-select: text;
}

.team-detail-section {
  margin-bottom: 1.8rem;
}

.team-detail-section-label {
  font-family: 'Cinzel';
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(68,153,255,0.75);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(68,153,255,0.1);
}

.team-detail-item {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(96,164,255,0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
    rgba(8,16,30,0.78);
}

.team-detail-item--with-image {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.85rem;
  align-items: center;
}

.team-detail-item-body {
  min-width: 0;
}

.team-detail-item-title {
  font-family: 'Cinzel';
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(232,240,255,0.85);
  margin-bottom: 0.3rem;
}

.team-detail-item-img {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0.5rem;
  opacity: 0.9;
}

.team-detail-item-content {
  color: rgba(232,240,255,0.72);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: none;
  white-space: pre-line;
}


/* ── Responsive overrides for content sections ──────── */

@media (max-width: 768px) {
  .about-block {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "copy"
      "detail";
  }

  .about-block-stage {
    gap: 1rem;
  }

  .about-block-media {
    aspect-ratio: 16 / 10;
    min-height: 14rem;
    height: auto;
  }

  .about-inners {
    grid-template-columns: 1fr;
  }

  .about-inner-detail-frame {
    padding: 1rem 1.05rem;
  }

  .about-inner-detail-panel {
    height: clamp(11rem, 40vw, 15rem);
  }

  .contact-form-section .contact-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    letter-spacing: 0.08em;
  }

  .contact-title-rule {
    margin-bottom: 1rem;
  }

  .contact-form-panel {
    min-height: 0;
    padding: 1.15rem;
  }

  .contact-top-fields {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-textarea {
    min-height: 11.5rem;
  }

  .contact-message-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-message-actions,
  .contact-submit-btn {
    width: 100%;
  }

  .universe-detail-panel,
  .team-detail-panel {
    padding: 1.2rem;
  }

  .universe-detail-strip {
    gap: 0.75rem;
    padding-bottom: 0.55rem;
  }

  .universe-detail-hero {
    padding-right: 2.2rem;
  }

  .universe-detail-focus-stage {
    height: auto;
    min-height: clamp(18rem, 58.5vh, 24.3rem);
  }

  .team-grid {
    gap: 1rem;
  }

  .team-grid-card {
    flex: 0 1 calc((100% - 2rem) / 3);
    min-width: 10rem;
  }

  .team-detail-header {
    flex-direction: column;
    text-align: center;
  }
}


.star-trail-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 55;
  pointer-events: none;
  overflow: hidden;
}

.star-trail-overlay .trail {
  position: absolute;
  top: 42%;
  left: -20vw;
  width: 20vw;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, rgba(168,212,255,0.2) 30%, #ffffff 70%, rgba(255,215,0,0.6) 90%, transparent 100%);
  border-radius: 999px;
  filter: drop-shadow(0 0 0.55rem rgba(255,255,255,0.95)) drop-shadow(0 0 1.4rem rgba(100,180,255,0.75)) drop-shadow(0 0 2.9rem rgba(68,153,255,0.45));
  opacity: 0;
}


@media (max-width: 1100px) {
  #menu-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: min(100%, 32rem);
  }
}

@media (max-width: 768px) {
  #main-nav { padding: 0.6rem 1rem; }
  #nav-left { gap: 0.75rem; }
  #nav-links { gap: 0.15rem; }

  .nav-btn {
    font-size: 0.775rem;
    padding: 0.3rem 0.5rem;
    letter-spacing: 0.1em;
  }

  #nav-logo {
    font-size: 1rem;
    letter-spacing: 0.15em;
  }

  #menu-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    max-width: min(100%, 25rem);
  }

  #section-universe {
    padding: 5.6rem 1rem 1.6rem;
  }

  #main-title {
    font-size: clamp(2.7rem, 13vw, 4.5rem);
    letter-spacing: 0.08em;
    line-height: 1.02;
    margin-bottom: 0.35rem;
  }

  #main-subtitle {
    margin-bottom: 1.9rem;
    font-size: clamp(0.95rem, 4vw, 1.25rem);
    letter-spacing: 0.34em;
  }

  .menu-card {
    gap: 0.7rem;
    padding: 1.15rem 0.7rem 1rem;
  }

  .menu-card-icon {
    width: 3.2rem;
    height: 3.2rem;
  }

  .menu-card-label {
    font-size: 0.74rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 480px) {
  #menu-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: min(100%, 21rem);
    gap: 0.75rem;
  }
}

@media (max-width: 360px) {
  #menu-cards {
    grid-template-columns: 1fr;
    max-width: 15.5rem;
  }
}

@media (max-height: 820px) {
  #section-universe {
    padding-top: 5.2rem;
    padding-bottom: 1.2rem;
  }

  #main-subtitle {
    margin-bottom: 1.5rem;
  }

  #menu-cards {
    gap: 0.75rem;
  }
}
