@font-face {
  font-family: "Auge";
  src: url("fonts/Auge-Trial-Regular-BF653b29344568e.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Auge";
  src: url("fonts/Auge-Trial-SemiBold-BF653b293480a32.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Auge";
  src: url("fonts/Auge-Trial-Light-BF653b29343345d.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --white: #fafaf8;
  --ink: #0f0f0f;
  --line: #e2e0d8;
  --mid: #b2b0a8;
}

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  font-family: "Auge", sans-serif;
  cursor: crosshair;
  user-select: none;
}

#intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wm {
  font-family: "Auge", sans-serif;
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 8.5rem);
  letter-spacing: 0.18em;
  color: var(--ink);
  overflow: hidden;
  display: flex;
  line-height: 1;
}

.wm .ch {
  display: inline-block;
  transform: translateY(110%);
  animation: up 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wm .ch:nth-child(1) {
  animation-delay: 0.04s;
}
.wm .ch:nth-child(2) {
  animation-delay: 0.09s;
}
.wm .ch:nth-child(3) {
  animation-delay: 0.14s;
}
.wm .ch:nth-child(4) {
  animation-delay: 0.19s;
}
.wm .ch:nth-child(5) {
  animation-delay: 0.24s;
}
.wm .ch:nth-child(6) {
  animation-delay: 0.29s;
}
.wm .ch:nth-child(7) {
  animation-delay: 0.34s;
}
.wm .ch:nth-child(8) {
  animation-delay: 0.39s;
}

.sub {
  font-size: 0.48rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 26px;
  opacity: 0;
  animation: fi 0.5s ease forwards 0.8s;
}

.rule {
  width: 0;
  height: 1px;
  background: var(--mid);
  opacity: 0.5;
  margin-top: 20px;
  animation: gr 0.55s ease forwards 0.75s;
}

@keyframes up {
  to {
    transform: translateY(0);
  }
}

@keyframes fi {
  to {
    opacity: 1;
  }
}

@keyframes gr {
  to {
    width: 56px;
  }
}

#intro.out {
  animation: iout 0.6s cubic-bezier(0.76, 0, 0.24, 1) forwards;
  pointer-events: none;
}

@keyframes iout {
  to {
    opacity: 0;
    transform: scale(1.02);
  }
}

#stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

#world {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.col-strip {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
}

.card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  z-index: 3;
}

.c-img {
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.c-inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.72s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
  filter: grayscale(1) brightness(0.85);
}

.card:hover .c-inner {
  transform: scale(1.08);
  filter: grayscale(0) brightness(1.03);
}

.c-foot {
  flex-shrink: 0;
  height: 56px;
  padding: 0 13px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.c-title {
  font-family: "Auge", sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c-meta {
  font-size: 0.42rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 4px;
}

#bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 50;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

#bar.show {
  transform: scaleX(1);
}

.ui {
  position: fixed;
  z-index: 50;
  font-size: 0.44rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mid);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.ui.show {
  opacity: 1;
}

#topbar {
  top: 20px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: normal;
  text-transform: none;
}

#topbar .tabs {
  display: flex;
  gap: 18px;
}

#topbar .tabs a {
  font-size: 0.54rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.18s ease;
}

#topbar .tabs a:hover {
  color: var(--ink);
}

#topbar .logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

#topbar .logo-link img {
  width: 34px;
  height: 34px;
  display: block;
}

#ubl {
  bottom: 24px;
  left: 28px;
}

#ubr {
  bottom: 24px;
  right: 28px;
}

#viz-copy {
  top: 84px;
  left: 28px;
  max-width: 640px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
}

#viz-copy h1 {
  font-size: clamp(2rem, 4.8vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
  font-weight: 600;
  margin-bottom: 14px;
}

#viz-copy p {
  font-size: clamp(0.88rem, 1.25vw, 1.18rem);
  line-height: 1.35;
  margin-bottom: 8px;
  max-width: 54ch;
}

#viz-copy .courses-note {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--mid);
  margin-top: 10px;
}

/* Removed mobile-specific overrides for #topbar, #viz-copy, and related elements to unify desktop and mobile grid layout */