:root {
  --bg: #030304;
  --panel: #0b0b10;
  --panel-2: #111119;
  --text: #f8f7f2;
  --muted: #a4a0ad;
  --dim: #57525f;
  --line: rgba(255, 255, 255, 0.13);
  --pink: #ff4d9d;
  --red: #ff403d;
  --blue: #4fa8ff;
  --cyan: #4fffe2;
  --green: #91ff73;
  --gold: #ffd166;
  --violet: #9a6dff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body::selection {
  background: var(--pink);
  color: #fff;
}

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

button {
  font: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 28px;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, rgba(3, 3, 4, 0.88), rgba(3, 3, 4, 0));
  backdrop-filter: blur(14px);
  pointer-events: none;
}

.site-header a {
  pointer-events: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
}

.top-nav {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

.top-nav a {
  transition: color 180ms ease;
}

.top-nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 96px 28px 78px;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18% 5% auto;
  height: 58%;
  background:
    radial-gradient(ellipse at 28% 42%, rgba(255, 55, 86, 0.22), transparent 34%),
    radial-gradient(ellipse at 72% 47%, rgba(79, 168, 255, 0.2), transparent 36%),
    radial-gradient(ellipse at 48% 60%, rgba(154, 109, 255, 0.18), transparent 40%);
  filter: blur(42px);
  opacity: 0.9;
  z-index: -2;
}

.hero-title-wrap {
  position: relative;
  z-index: 6;
  text-align: center;
  transform: translateZ(0);
}

.hero-title-wrap::before {
  content: "";
  position: absolute;
  inset: -68px -120px;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(3, 3, 4, 0.5), rgba(3, 3, 4, 0.2) 56%, transparent 78%),
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08), transparent 46%);
  filter: blur(14px);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 96px;
  line-height: 0.9;
  font-weight: 950;
}

.hero h1 span {
  display: block;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.2);
}

.hero-meta {
  position: absolute;
  z-index: 8;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.hero-meta > span,
.hero-meta > a,
.hero-meta > button {
  position: relative;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: inherit;
  background: rgba(3, 3, 4, 0.32);
  backdrop-filter: blur(10px);
}

.hero-meta > button {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.hero-meta > a:hover,
.hero-meta > button:hover {
  color: #fff;
  border-color: rgba(232, 244, 255, 0.28);
  background: rgba(3, 3, 4, 0.46);
}

.hero-meta-left {
  left: 32px;
  bottom: 30px;
}

.hero-meta-right {
  top: 90px;
  right: 32px;
  justify-content: flex-end;
}

.hero-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  --mx: 0px;
  --my: 0px;
  --ring-radius: min(24.5vw, 280px);
}

.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(50% + 44px);
  width: min(620px, 62vw);
  aspect-ratio: 1.85;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  pointer-events: none;
}

.hero-stage::before {
  z-index: 3;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.12), rgba(79, 168, 255, 0.08) 34%, transparent 70%);
  filter: blur(32px);
  opacity: 0.5;
}

.hero-stage::after {
  z-index: 3;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.42), transparent 68%);
  filter: blur(38px);
  opacity: 0.58;
  transform: translate(-50%, -44%) rotate(-18deg) scale(0.78);
}

.ring-card {
  --count: 11;
  --angle: calc((360deg / var(--count)) * var(--i));
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: clamp(130px, 15vw, 180px);
  aspect-ratio: 16 / 9;
  opacity: 0;
  transform-style: preserve-3d;
  transform:
    translate(-50%, -50%)
    perspective(980px)
    rotateZ(-18deg)
    rotateX(28deg)
    rotateY(var(--angle))
    translateZ(var(--ring-radius));
  transition: opacity 800ms ease;
  will-change: transform, filter, opacity;
}

.hero.is-loaded .ring-card {
  opacity: var(--card-opacity, 0.72);
}

.ring-card:nth-child(1) {
  --img: url("./assets/images/home-ring-01.webp");
}

.ring-card:nth-child(2) {
  --img: url("./assets/images/home-ring-02.webp");
}

.ring-card:nth-child(3) {
  --img: url("./assets/images/home-ring-03.webp");
}

.ring-card:nth-child(4) {
  --img: url("./assets/images/home-ring-04.webp");
}

.ring-card:nth-child(5) {
  --img: url("./assets/images/home-ring-05.webp");
}

.ring-card:nth-child(6) {
  --img: url("./assets/images/home-ring-06.webp");
}

.ring-card:nth-child(7) {
  --img: url("./assets/images/home-ring-07.webp");
}

.ring-card:nth-child(8) {
  --img: url("./assets/images/home-ring-08.webp");
}

.ring-card:nth-child(9) {
  --img: url("./assets/images/home-ring-09.webp");
}

.ring-card:nth-child(10) {
  --img: url("./assets/images/home-ring-10.webp");
}

.ring-card:nth-child(11) {
  --img: url("./assets/images/home-ring-11.webp");
}

.ring-card img,
.ring-card::before,
.ring-card::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow:
    0 0 0 var(--card-gap-width, 2px) rgba(3, 3, 4, var(--card-gap, 0.34)),
    0 24px 68px rgba(0, 0, 0, 0.42),
    0 0 22px rgba(79, 168, 255, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset -10px 0 18px rgba(0, 0, 0, 0.22),
    inset 8px 0 16px rgba(255, 255, 255, 0.08);
  backface-visibility: hidden;
}

.ring-card::before,
.ring-card::after {
  content: "";
  pointer-events: none;
}

.ring-card::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 18%, rgba(0, 0, 0, 0.38) 82%, rgba(0, 0, 0, 0.6)),
    linear-gradient(145deg, rgba(7, 7, 8, 0.72), rgba(25, 25, 30, 0.5)),
    var(--img);
  background-size: cover;
  background-position: center;
  filter: brightness(0.46) saturate(0.56) contrast(0.92);
  transform: rotateY(180deg) translateZ(4px);
}

.ring-card::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 18%, rgba(0, 0, 0, 0.18) 84%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 38%),
    linear-gradient(45deg, rgba(255, 77, 157, 0.13), rgba(79, 168, 255, 0.16));
  mix-blend-mode: screen;
  transform: translateZ(5px);
}

.ring-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter:
    brightness(var(--card-brightness, 0.82))
    saturate(var(--card-saturation, 0.9))
    contrast(var(--card-contrast, 1));
  transform: translateZ(5px);
}

.section-pad {
  position: relative;
  scroll-margin-top: 76px;
  padding: 122px 28px;
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 34px;
}

.section-head.center {
  text-align: center;
}

.section-head h2 {
  margin: 0;
  max-width: 830px;
  color: #fff;
  font-size: 52px;
  line-height: 1.02;
}

.section-head.center h2 {
  margin: 0 auto;
}

.directory {
  min-height: 100svh;
  display: grid;
  align-content: center;
  background:
    linear-gradient(180deg, #030304, #07070a 38%, #030304),
    radial-gradient(circle at 20% 20%, rgba(255, 64, 61, 0.08), transparent 28%),
    radial-gradient(circle at 78% 72%, rgba(79, 168, 255, 0.1), transparent 30%);
}

.icon-grid {
  width: min(620px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(136px, 162px));
  justify-content: center;
  gap: 22px;
}

.nav-tile {
  --tile-a: rgba(116, 147, 184, 0.52);
  --tile-b: rgba(201, 179, 119, 0.42);
  --tile-c: rgba(243, 248, 255, 0.18);
  --tile-glow: rgba(116, 147, 184, 0.2);
  --tile-ink: rgba(238, 244, 250, 0.96);
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  aspect-ratio: 1;
  min-height: 0;
  padding: 18px 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.36);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.07), transparent 34%),
    rgba(255, 255, 255, 0.025);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.nav-tile:nth-child(1) {
  --tile-a: rgba(109, 139, 180, 0.58);
  --tile-b: rgba(208, 184, 119, 0.44);
  --tile-c: rgba(233, 241, 250, 0.2);
  --tile-glow: rgba(109, 139, 180, 0.24);
  --tile-ink: rgba(233, 241, 250, 0.98);
}

.nav-tile:nth-child(2) {
  --tile-a: rgba(171, 128, 96, 0.52);
  --tile-b: rgba(105, 134, 145, 0.42);
  --tile-c: rgba(250, 232, 213, 0.18);
  --tile-glow: rgba(171, 128, 96, 0.22);
  --tile-ink: rgba(247, 230, 214, 0.96);
}

.nav-tile:nth-child(3) {
  --tile-a: rgba(93, 149, 131, 0.5);
  --tile-b: rgba(173, 181, 151, 0.38);
  --tile-c: rgba(228, 242, 234, 0.18);
  --tile-glow: rgba(93, 149, 131, 0.22);
  --tile-ink: rgba(232, 244, 237, 0.96);
}

.nav-tile:nth-child(4) {
  --tile-a: rgba(119, 112, 177, 0.54);
  --tile-b: rgba(94, 154, 172, 0.4);
  --tile-c: rgba(235, 232, 252, 0.18);
  --tile-glow: rgba(119, 112, 177, 0.24);
  --tile-ink: rgba(238, 236, 252, 0.98);
}

.nav-tile:nth-child(5) {
  --tile-a: rgba(167, 113, 142, 0.48);
  --tile-b: rgba(202, 178, 128, 0.4);
  --tile-c: rgba(250, 232, 240, 0.18);
  --tile-glow: rgba(167, 113, 142, 0.22);
  --tile-ink: rgba(249, 234, 241, 0.96);
}

.nav-tile:nth-child(6) {
  --tile-a: rgba(137, 151, 95, 0.5);
  --tile-b: rgba(204, 185, 122, 0.42);
  --tile-c: rgba(244, 242, 222, 0.18);
  --tile-glow: rgba(137, 151, 95, 0.22);
  --tile-ink: rgba(244, 242, 225, 0.96);
}

.nav-tile::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(142deg, var(--tile-a), rgba(255, 255, 255, 0.06) 43%, var(--tile-b)),
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.32), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 52%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.nav-tile::after {
  content: "";
  position: absolute;
  inset: -42%;
  background:
    linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, 0.24) 45%, transparent 57%),
    repeating-linear-gradient(102deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 9px);
  opacity: 0;
  transform: translateX(-24%) rotate(6deg);
  transition:
    opacity 220ms ease,
    transform 420ms ease;
}

.icon-grid:not(.is-intro-running) .nav-tile:hover,
.icon-grid:not(.is-intro-running) .nav-tile:focus-visible,
.nav-tile.is-sequencing {
  color: var(--tile-ink);
  border-color: rgba(255, 255, 255, 0.36);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    0 20px 58px rgba(0, 0, 0, 0.32),
    0 0 36px var(--tile-glow),
    inset 0 0 34px rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.nav-tile:active {
  transform: translateY(-1px) scale(0.98);
}

.icon-grid:not(.is-intro-running) .nav-tile:hover::before,
.icon-grid:not(.is-intro-running) .nav-tile:focus-visible::before,
.nav-tile.is-sequencing::before {
  opacity: 1;
}

.icon-grid:not(.is-intro-running) .nav-tile:hover::after,
.icon-grid:not(.is-intro-running) .nav-tile:focus-visible::after,
.nav-tile.is-sequencing::after {
  opacity: 0.62;
  transform: translateX(20%) rotate(6deg);
}

.icon-grid:not(.is-intro-running) .nav-tile:hover .tile-icon,
.icon-grid:not(.is-intro-running) .nav-tile:focus-visible .tile-icon,
.nav-tile.is-sequencing .tile-icon {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(145deg, var(--tile-c), rgba(0, 0, 0, 0.16));
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.08),
    0 0 24px var(--tile-glow);
}

.tile-icon,
.tile-label {
  position: relative;
  z-index: 2;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(0, 0, 0, 0.12)),
    rgba(0, 0, 0, 0.16);
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.035),
    inset 0 -14px 22px rgba(0, 0, 0, 0.16);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.tile-icon svg {
  width: 42px;
  height: 42px;
}

.tile-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-label {
  color: currentColor;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.education {
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(172, 204, 255, 0.085), transparent 36%),
    radial-gradient(circle at 78% 62%, rgba(255, 255, 255, 0.04), transparent 24%),
    linear-gradient(180deg, #030304 0%, #07080b 48%, #030304 100%);
}

.education .section-head {
  max-width: 760px;
  margin-bottom: 51px;
  text-align: center;
}

.education .section-head h2 {
  margin-inline: auto;
  letter-spacing: 0;
}

.edu-ticket {
  --ticket-lift: 0px;
  position: relative;
  display: block;
  width: min(720px, 86vw);
  min-height: 0;
  aspect-ratio: 4.35 / 1;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  perspective: 1200px;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  animation: ticketDrift 6.8s ease-in-out infinite;
  backface-visibility: hidden;
  will-change: transform;
  filter:
    drop-shadow(16px 22px 24px rgba(0, 0, 0, 0.52))
    drop-shadow(42px 34px 52px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 22px rgba(157, 190, 238, 0.1));
  transition: filter 260ms ease;
}

.edu-ticket:focus {
  outline: none;
}

.edu-ticket:focus-visible {
  outline: 1px solid rgba(224, 232, 238, 0.42);
  outline-offset: 8px;
}

.edu-ticket:hover,
.edu-ticket:focus-visible {
  --ticket-lift: -5px;
  filter:
    drop-shadow(18px 25px 30px rgba(0, 0, 0, 0.56))
    drop-shadow(48px 38px 58px rgba(0, 0, 0, 0.31))
    drop-shadow(0 0 32px rgba(176, 213, 255, 0.16));
}

.edu-ticket::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 0;
  z-index: 1;
  width: 48%;
  height: 26%;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 58% 50%, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.28) 48%, transparent 74%);
  filter: blur(18px);
  opacity: 0.68;
  transform: translate3d(8%, 44%, -1px) rotate(-3deg);
  transform-origin: 60% 50%;
  pointer-events: none;
  animation: ticketShadowDrift 6.8s ease-in-out infinite;
}

.ticket-face {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 82px minmax(250px, 1fr) 1px minmax(200px, 0.82fr) 34px;
  align-items: center;
  gap: 14px;
  min-height: 0;
  padding: 18px 18px 18px 20px;
  border: 1px solid rgba(210, 222, 234, 0.28);
  border-radius: 15px;
  background:
    linear-gradient(92deg, rgba(255, 255, 255, 0.075), transparent 22%, rgba(255, 255, 255, 0.05) 72%, rgba(255, 255, 255, 0.085)),
    radial-gradient(circle at 18% 10%, rgba(198, 220, 255, 0.16), transparent 28%),
    radial-gradient(circle at 74% 0%, rgba(255, 255, 255, 0.13), transparent 20%),
    linear-gradient(180deg, rgba(25, 29, 34, 0.94), rgba(8, 10, 13, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 38px rgba(144, 179, 226, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition:
    transform 760ms cubic-bezier(0.2, 0.9, 0.22, 1),
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
  z-index: 2;
}

.ticket-face::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.ticket-face::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 6%, rgba(255, 255, 255, 0.17) 11%, transparent 18%),
    linear-gradient(180deg, rgba(238, 246, 255, 0.24), transparent 18%, transparent 72%, rgba(255, 255, 255, 0.07));
  opacity: 0.42;
  pointer-events: none;
}

.ticket-face::after {
  left: 22%;
  right: 20%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(238, 248, 255, 0.9), transparent);
  filter: blur(0.2px);
  opacity: 0.7;
}

.ticket-front {
  transform: translateY(var(--ticket-lift)) rotateY(0deg);
}

.ticket-back {
  transform: translateY(var(--ticket-lift)) rotateY(180deg);
}

.edu-ticket.is-flipped .ticket-front {
  transform: translateY(var(--ticket-lift)) rotateY(-180deg);
}

.edu-ticket.is-flipped .ticket-back {
  transform: translateY(var(--ticket-lift)) rotateY(0);
}

.edu-ticket:hover .ticket-face,
.edu-ticket:focus-visible .ticket-face {
  border-color: rgba(232, 241, 251, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 44px rgba(155, 195, 245, 0.09),
    0 0 0 1px rgba(198, 226, 255, 0.08),
    0 0 38px rgba(161, 203, 255, 0.11);
}

.ticket-back {
  background:
    linear-gradient(92deg, rgba(255, 255, 255, 0.088), transparent 24%, rgba(255, 255, 255, 0.058) 76%, rgba(255, 255, 255, 0.09)),
    radial-gradient(circle at 20% 10%, rgba(210, 226, 255, 0.18), transparent 30%),
    radial-gradient(circle at 82% 6%, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(27, 31, 36, 0.94), rgba(10, 12, 15, 0.97));
}

.ticket-notch {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 30px;
  height: 54px;
  border: 1px solid rgba(210, 222, 234, 0.28);
  border-radius: 999px;
  background: #050608;
  box-shadow:
    inset 0 0 12px rgba(255, 255, 255, 0.04),
    0 0 14px rgba(0, 0, 0, 0.4);
  transform: translateY(-50%);
}

.ticket-notch-left {
  left: -16px;
}

.ticket-notch-right {
  right: -16px;
}

.ticket-logo,
.ticket-copy,
.ticket-divider,
.ticket-chips,
.ticket-stub {
  position: relative;
  z-index: 4;
}

.ticket-logo {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  border: 1px solid rgba(219, 231, 242, 0.22);
  border-radius: 18px;
  color: rgba(240, 246, 252, 0.82);
  background:
    radial-gradient(circle at 40% 24%, rgba(255, 255, 255, 0.11), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    inset 0 -20px 42px rgba(0, 0, 0, 0.16);
}

.ticket-logo span {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.ticket-logo small {
  color: rgba(230, 238, 247, 0.46);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.ticket-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
  text-align: left;
}

.ticket-kicker {
  color: rgba(221, 231, 241, 0.62);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
}

.ticket-copy strong {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(20px, 2.45vw, 25px);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.ticket-major {
  overflow: hidden;
  color: rgba(236, 242, 248, 0.72);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-date {
  margin-top: 4px;
  color: rgba(226, 235, 244, 0.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.ticket-date::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 8px 1px 0;
  border: 1px solid rgba(222, 235, 248, 0.46);
  border-radius: 999px;
}

.ticket-divider {
  align-self: stretch;
  width: 1px;
  background:
    linear-gradient(180deg, transparent, rgba(222, 235, 248, 0.24) 20%, rgba(222, 235, 248, 0.24) 80%, transparent);
}

.ticket-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(90deg, transparent 45%, rgba(245, 250, 255, 0.78) 50%, transparent 55%),
    linear-gradient(0deg, transparent 45%, rgba(245, 250, 255, 0.78) 50%, transparent 55%);
  filter: drop-shadow(0 0 10px rgba(202, 226, 255, 0.36));
  opacity: 0.62;
  transform: translate(-50%, -50%) rotate(45deg);
}

.ticket-chips {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.ticket-chips span {
  min-width: 0;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid rgba(221, 232, 244, 0.16);
  border-radius: 999px;
  color: rgba(240, 246, 252, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 10.3px;
  font-weight: 760;
  line-height: 1.16;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.ticket-chips span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: rgba(225, 238, 252, 0.68);
  box-shadow: 0 0 10px rgba(190, 218, 255, 0.34);
  vertical-align: 1px;
}

.ticket-stub {
  align-self: stretch;
  display: grid;
  grid-template-rows: 1fr 48px;
  justify-items: center;
  padding-left: 11px;
  border-left: 1px solid rgba(221, 232, 244, 0.12);
  color: rgba(232, 240, 248, 0.42);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ticket-stub span {
  writing-mode: vertical-rl;
}

.ticket-stub i {
  width: 16px;
  height: 48px;
  align-self: end;
  background:
    repeating-linear-gradient(90deg, rgba(240, 248, 255, 0.44) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0.7;
}

.edu-ticket {
  width: min(648px, 82vw);
  aspect-ratio: 1356 / 377;
  filter:
    drop-shadow(16px 24px 28px rgba(0, 0, 0, 0.56))
    drop-shadow(42px 36px 54px rgba(0, 0, 0, 0.3))
    drop-shadow(0 0 24px rgba(174, 207, 255, 0.12));
}

.edu-ticket:hover,
.edu-ticket:focus-visible {
  --ticket-lift: -8px;
  filter:
    drop-shadow(18px 28px 34px rgba(0, 0, 0, 0.58))
    drop-shadow(50px 42px 64px rgba(0, 0, 0, 0.33))
    drop-shadow(0 0 36px rgba(190, 219, 255, 0.18));
}

.edu-ticket::after {
  right: 6%;
  bottom: 6%;
  width: 46%;
  height: 22%;
  filter: blur(20px);
  opacity: 0.74;
}

.ticket-face {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.ticket-face::before,
.ticket-face::after {
  display: none;
}

.ticket-art {
  position: relative;
  z-index: 4;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  filter:
    drop-shadow(0 0 1px rgba(232, 243, 255, 0.4))
    drop-shadow(0 0 16px rgba(143, 180, 231, 0.1));
}

.internships {
  min-height: 100svh;
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at 22% 28%, rgba(147, 178, 228, 0.08), transparent 26%),
    radial-gradient(circle at 80% 66%, rgba(255, 255, 255, 0.035), transparent 24%),
    linear-gradient(180deg, #030304 0%, #07080b 50%, #030304 100%);
}

.internships .section-head {
  text-align: center;
}

.internships .section-head h2 {
  margin: 0 auto;
}

.internship-shell {
  width: min(823px, calc(100vw - 192px));
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 19px;
  align-items: start;
  perspective: 1200px;
}

.internship-item {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(226, 235, 246, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028), transparent 34%, rgba(151, 187, 236, 0.035));
  isolation: isolate;
  overflow: hidden;
  transition:
    opacity 520ms ease,
    transform 620ms cubic-bezier(0.2, 0.85, 0.18, 1),
    border-color 300ms ease,
    background 300ms ease,
    filter 300ms ease;
}

.internship-item.is-open {
  grid-column: span 2;
  border-color: rgba(229, 241, 255, 0.24);
  background:
    radial-gradient(circle at 16% 34%, rgba(177, 208, 255, 0.11), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 48%, rgba(142, 184, 242, 0.045));
  transform: translate3d(0, -2px, 0);
  filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.28));
}

.internship-shell.has-open .internship-item:not(.is-open) {
  opacity: 0.42;
  transform: scale(0.975);
}

.internship-trigger {
  width: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 14px 14px 14px 12px;
  border: 0;
  color: #fff;
  background: transparent;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.internship-trigger::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent, rgba(209, 232, 255, 0.12) 20%, transparent 58%),
    linear-gradient(180deg, rgba(232, 242, 255, 0.22), transparent 18%, transparent 78%, rgba(173, 207, 255, 0.14));
  filter: blur(0.2px);
  transition: opacity 300ms ease;
}

.internship-item:hover .internship-trigger::after,
.internship-item.is-open .internship-trigger::after,
.internship-trigger:focus-visible::after {
  opacity: 1;
}

.internship-item:hover,
.internship-item:focus-within {
  border-color: rgba(224, 239, 255, 0.2);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 34%, rgba(169, 205, 255, 0.055));
}

.internship-copy {
  min-width: 0;
  display: block;
}

.internship-orb {
  flex: 0 0 auto;
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(225, 236, 248, 0.2);
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.48), transparent 12%),
    radial-gradient(circle at 66% 72%, rgba(125, 166, 226, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.025));
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    transform 620ms cubic-bezier(0.2, 0.85, 0.18, 1),
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.internship-orb::before,
.internship-orb::after,
.internship-orb span {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.internship-orb::after {
  opacity: 0.36;
  transition: opacity 300ms ease;
}

.internship-item:hover .internship-orb,
.internship-item.is-open .internship-orb,
.internship-trigger:focus-visible .internship-orb {
  border-color: rgba(234, 245, 255, 0.42);
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, 0.13),
    0 0 26px rgba(170, 207, 255, 0.15);
}

.internship-item:hover .internship-orb,
.internship-item.is-open .internship-orb {
  transform: translate3d(4px, -2px, 0) scale(1.12);
}

.orb-byte::before {
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.72), transparent 13%),
    radial-gradient(circle at 56% 56%, rgba(98, 133, 190, 0.35), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(13, 16, 22, 0.2), transparent 62%);
}

.orb-byte::after {
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: conic-gradient(from 0deg, transparent 0 28%, rgba(231, 244, 255, 0.52) 34%, transparent 42% 100%);
  animation: orbRotate 5.8s linear infinite paused;
}

.orb-byte span {
  inset: 18%;
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  border-right: 1px solid rgba(171, 205, 255, 0.18);
  transform: rotate(20deg);
}

.orb-lines {
  border-radius: 48% 52% 45% 55%;
}

.orb-lines::before {
  background:
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(230, 240, 255, 0.26) 8px 9px, transparent 9px 15px),
    radial-gradient(circle at 42% 50%, rgba(139, 176, 232, 0.24), transparent 42%);
}

.orb-lines::after {
  left: 48%;
  width: 1px;
  border-radius: 0;
  background: linear-gradient(180deg, transparent, rgba(241, 248, 255, 0.82), transparent);
  animation: lineScan 2.8s ease-in-out infinite paused;
}

.orb-lines span {
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 42% 58% 52% 48%;
}

.orb-stripes::before {
  background:
    repeating-conic-gradient(from 12deg, rgba(244, 249, 255, 0.3) 0 8deg, transparent 8deg 18deg),
    radial-gradient(circle, transparent 0 42%, rgba(0, 0, 0, 0.32) 43% 48%, transparent 49%);
  animation: orbRotate 7.2s linear infinite paused;
}

.orb-stripes::after {
  inset: 14px;
  border: 1px solid rgba(235, 244, 255, 0.24);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.orb-stripes span {
  inset: 23px;
  background: rgba(230, 241, 255, 0.11);
}

.orb-orbit::before {
  inset: 13px;
  border: 1px solid rgba(238, 247, 255, 0.28);
  transform: rotate(-22deg);
  animation: orbitRing 4.6s ease-in-out infinite paused;
}

.orb-orbit::after {
  inset: 9px;
  border: 1px solid rgba(157, 194, 247, 0.2);
  transform: rotate(36deg);
  animation: orbitTilt 3.4s ease-in-out infinite paused;
}

.orb-orbit span {
  inset: 23px;
  background: rgba(245, 249, 255, 0.74);
  box-shadow: 0 0 18px rgba(190, 221, 255, 0.42);
  animation: orbitDot 3.4s ease-in-out infinite paused;
}

.internship-item:hover .internship-orb::before,
.internship-item:hover .internship-orb::after,
.internship-item.is-open .internship-orb::before,
.internship-item.is-open .internship-orb::after {
  animation-play-state: running;
  opacity: 0.82;
}

.internship-item:hover .orb-orbit span,
.internship-item.is-open .orb-orbit span {
  animation-play-state: running;
  opacity: 0.9;
}

.internship-trigger strong {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 760;
  letter-spacing: 0;
  transition: color 260ms ease, text-shadow 260ms ease;
}

.internship-trigger em {
  display: block;
  margin-top: 6px;
  color: rgba(210, 218, 229, 0.5);
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
  transition: color 260ms ease;
}

.internship-item:hover .internship-trigger strong,
.internship-item.is-open .internship-trigger strong,
.internship-trigger:focus-visible strong {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 0 24px rgba(192, 220, 255, 0.16);
}

.internship-item:hover .internship-trigger em,
.internship-item.is-open .internship-trigger em,
.internship-trigger:focus-visible em {
  color: rgba(235, 241, 249, 0.72);
}

.internship-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  transition:
    max-height 640ms cubic-bezier(0.2, 0.86, 0.2, 1),
    opacity 420ms ease,
    transform 560ms cubic-bezier(0.2, 0.86, 0.2, 1);
}

.internship-item.is-open .internship-panel {
  max-height: 504px;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.internship-detail {
  margin: 0 14px 19px 89px;
  padding: 17px 20px 19px;
  border: 1px solid rgba(223, 237, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 10, 14, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 56px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.internship-detail p {
  margin: 0 0 10px;
  color: rgba(235, 243, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.internship-panel ul {
  margin: 0;
  padding: 0;
  color: rgba(232, 238, 247, 0.74);
  font-size: 14px;
  line-height: 1.68;
  list-style: none;
}

.internship-panel li {
  position: relative;
  margin: 8px 0;
  padding-left: 17px;
}

.internship-panel li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(224, 239, 255, 0.72);
  box-shadow: 0 0 12px rgba(174, 210, 255, 0.34);
}

.internship-panel strong {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 760;
  text-shadow: 0 0 14px rgba(190, 220, 255, 0.14);
}

.projects,
.vibe,
.skills {
  min-height: 100svh;
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at 50% 32%, rgba(158, 190, 238, 0.075), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(255, 255, 255, 0.035), transparent 24%),
    linear-gradient(180deg, #030304 0%, #07080b 52%, #030304 100%);
}

.skills {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(196, 218, 248, 0.085), transparent 34%),
    radial-gradient(circle at 18% 72%, rgba(255, 255, 255, 0.04), transparent 24%),
    linear-gradient(180deg, #030304 0%, #07080b 54%, #030304 100%);
}

.projects .section-head,
.vibe .section-head,
.skills .section-head {
  width: min(var(--max), calc(100vw - 56px));
  text-align: center;
  justify-self: center;
}

.projects .section-head h2,
.vibe .section-head h2,
.skills .section-head h2 {
  margin: 0 auto;
}

.project-grid,
.vibe-grid {
  width: min(1040px, calc(100vw - 96px));
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vibe-grid {
  width: min(920px, calc(100vw - 96px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card,
.vibe-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 236, 248, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(8, 10, 14, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 22px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
}

.project-card {
  min-height: 330px;
  padding: 28px;
}

.vibe-card {
  min-height: 228px;
  padding: 26px;
}

.project-card::before,
.vibe-card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 244, 255, 0.64), transparent);
  opacity: 0.44;
  transition: opacity 260ms ease;
}

.project-card::after,
.vibe-card::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 212, 255, 0.13), transparent 66%);
  opacity: 0;
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}

.project-card:hover,
.vibe-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 242, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.024)),
    rgba(10, 12, 17, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 28px 80px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(173, 207, 255, 0.08);
}

.project-card:hover::before,
.vibe-card:hover::before {
  opacity: 0.92;
}

.project-card:hover::after,
.vibe-card:hover::after {
  opacity: 1;
  transform: translate3d(-4px, -3px, 0) scale(1.02);
}

.project-card > *,
.vibe-card > * {
  position: relative;
  z-index: 1;
}

.project-index,
.vibe-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(230, 240, 252, 0.2);
  border-radius: 50%;
  color: rgba(244, 248, 255, 0.86);
  font-size: 13px;
  font-weight: 850;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.026));
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.05);
}

.project-card h3,
.vibe-card h3 {
  margin: 26px 0 9px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: 0;
}

.vibe-card h3 {
  font-size: 22px;
}

.project-card p,
.vibe-card p {
  margin: 0 0 18px;
  color: rgba(214, 223, 235, 0.6);
  font-size: 14px;
  line-height: 1.58;
}

.project-card ul {
  margin: 0;
  padding: 0;
  color: rgba(232, 238, 247, 0.74);
  font-size: 14px;
  line-height: 1.72;
  list-style: none;
}

.project-card li {
  position: relative;
  margin: 10px 0;
  padding-left: 18px;
}

.project-card li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(228, 239, 255, 0.68);
  box-shadow: 0 0 12px rgba(174, 210, 255, 0.24);
}

.project-trigger {
  cursor: pointer;
}

.project-trigger:focus-visible {
  outline: 1px solid rgba(232, 244, 255, 0.44);
  outline-offset: 8px;
}

.project-grid.has-active {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
  margin-bottom: 22px;
}

.project-grid.has-active .project-trigger:not(.is-active) {
  display: none;
}

.project-grid.has-active .project-card {
  min-height: 0;
  padding: 22px 24px;
  border-color: rgba(230, 242, 255, 0.26);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.022)),
    rgba(10, 12, 17, 0.86);
}

.project-grid.has-active .project-card h3 {
  margin-top: 18px;
}

.project-grid.has-active .project-card ul {
  display: none;
}

.project-showcase {
  width: min(1120px, calc(100vw - 96px));
  margin: 0 auto;
}

.project-case {
  display: none;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
}

.project-case.is-active {
  display: block;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  animation: projectCaseIn 520ms cubic-bezier(0.2, 0.86, 0.2, 1) both;
}

.case-head {
  margin-bottom: 16px;
  text-align: center;
}

.case-head span {
  display: block;
  margin-bottom: 6px;
  color: rgba(196, 206, 220, 0.68);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-head h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 28px;
  line-height: 1.14;
}

.case-head p {
  max-width: 620px;
  margin: 8px auto 0;
  color: rgba(214, 223, 235, 0.58);
  font-size: 14px;
  line-height: 1.6;
}

.ppt-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  overflow: visible;
}

.project-case-loreal .ppt-strip {
  margin-top: 52px;
}

.ppt-slide {
  position: relative;
  margin: 0;
  aspect-ratio: 2676 / 1498;
  border: 1px solid rgba(226, 236, 248, 0.13);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 10, 14, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 64px rgba(0, 0, 0, 0.24);
  transform-origin: 50% 50%;
  transition:
    transform 300ms cubic-bezier(0.2, 0.86, 0.2, 1),
    opacity 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    filter 260ms ease;
}

.ppt-strip:has(.ppt-slide:hover) .ppt-slide:not(:hover) {
  opacity: 0.56;
  transform: scale(0.72);
  filter: brightness(0.62) saturate(0.8);
}

.ppt-slide:hover {
  z-index: 2;
  opacity: 1;
  transform: scale(1.4);
  border-color: rgba(232, 244, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 32px 90px rgba(0, 0, 0, 0.34),
    0 0 36px rgba(174, 207, 255, 0.1);
  filter: saturate(0.96) brightness(1.02);
}

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

.flow-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  text-align: left;
}

.flow-head p {
  margin-inline: 0;
}

.flow-toggle {
  flex: 0 0 auto;
  position: relative;
  display: inline-grid;
  grid-template-columns: auto 34px auto;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 5px 11px;
  border: 1px solid rgba(226, 236, 248, 0.16);
  border-radius: 999px;
  color: rgba(236, 243, 252, 0.72);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.flow-toggle:hover,
.flow-toggle:focus-visible {
  color: rgba(255, 255, 255, 0.94);
  border-color: rgba(232, 244, 255, 0.28);
  background: rgba(255, 255, 255, 0.055);
  outline: none;
}

.flow-toggle i {
  position: relative;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.flow-toggle i::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(240, 247, 255, 0.9);
  box-shadow: 0 0 14px rgba(187, 219, 255, 0.24);
  transition: transform 220ms ease;
}

.flow-toggle[aria-pressed="true"] i::after {
  transform: translateX(14px);
}

.flow-board {
  position: relative;
  min-height: 318px;
  padding: 30px;
  border: 1px solid rgba(226, 236, 248, 0.13);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(8, 10, 14, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 90px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.flow-board::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 244, 255, 0.72), transparent);
  opacity: 0.55;
}

.project-case-bsh .flow-board {
  min-height: 244px;
  padding: 24px;
}

.flow-diagram {
  display: none;
  position: relative;
  min-height: 258px;
}

.flow-diagram.is-active {
  display: block;
  animation: flowIn 360ms ease both;
}

.project-case-bsh .flow-diagram {
  min-height: 196px;
}

.project-case-bsh .flow-diagram.is-active {
  display: grid;
  place-items: center;
}

.flow-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.project-case-bsh .flow-svg {
  width: 70%;
  max-width: 784px;
}

.flow-svg marker path {
  fill: rgba(224, 238, 255, 0.7);
}

.flow-links path {
  fill: none;
  stroke: rgba(224, 238, 255, 0.44);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-svg-node rect {
  fill: rgba(11, 14, 19, 0.9);
  stroke: rgba(229, 239, 252, 0.24);
  stroke-width: 1.4;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.24));
}

.flow-svg-node text,
.flow-label {
  fill: rgba(247, 250, 255, 0.88);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 760;
  text-anchor: middle;
  letter-spacing: 0;
}

.flow-svg-small text {
  fill: rgba(233, 241, 252, 0.8);
  font-size: 16px;
}

.flow-label {
  fill: rgba(214, 226, 242, 0.64);
  font-size: 15px;
  font-weight: 650;
}

.flow-edit-label {
  text-anchor: middle;
}

.flow-svg-node.flow-highlight rect {
  fill: rgba(16, 20, 27, 0.94);
  stroke: rgba(237, 247, 255, 0.48);
  stroke-width: 1.7;
  filter:
    drop-shadow(0 16px 24px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 20px rgba(183, 216, 255, 0.16));
}

.svg-spotlight {
  fill: url(#flow-spotlight);
  opacity: 0;
  animation: spotlightOn 680ms ease 160ms both;
}

.flow-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.flow-main {
  min-height: 96px;
}

.flow-node {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  min-width: 138px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(229, 239, 252, 0.22);
  border-radius: 12px;
  color: rgba(247, 250, 255, 0.88);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.024)),
    rgba(11, 14, 19, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 14px 30px rgba(0, 0, 0, 0.2);
  font-size: 17px;
  font-weight: 740;
  text-align: center;
  letter-spacing: 0;
}

.flow-small {
  min-width: 126px;
  min-height: 44px;
  color: rgba(233, 241, 252, 0.78);
  font-size: 15px;
}

.flow-arrow {
  position: relative;
  flex: 1 1 58px;
  min-width: 42px;
  max-width: 92px;
  height: 1px;
  background: rgba(224, 238, 255, 0.42);
}

.flow-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 1px solid rgba(224, 238, 255, 0.7);
  border-right: 1px solid rgba(224, 238, 255, 0.7);
  transform: translateY(-50%) rotate(45deg);
}

.flow-save em {
  position: absolute;
  left: 50%;
  bottom: 9px;
  color: rgba(234, 243, 255, 0.7);
  font-style: normal;
  font-size: 12px;
  transform: translateX(-50%);
}

.flow-branches {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 42px;
  margin-top: 22px;
}

.flow-branch-line {
  position: absolute;
  left: 50%;
  top: -32px;
  width: 240px;
  height: 34px;
  border-left: 1px solid rgba(224, 238, 255, 0.34);
  border-right: 1px solid rgba(224, 238, 255, 0.34);
  border-bottom: 1px solid rgba(224, 238, 255, 0.34);
  border-radius: 0 0 16px 16px;
  transform: translateX(-50%);
}

.flow-branch-line::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  height: 18px;
  border-left: 1px solid rgba(224, 238, 255, 0.34);
  transform: translateX(-50%);
}

.flow-loop {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.flow-loop span {
  position: absolute;
  color: rgba(214, 226, 242, 0.56);
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.flow-before-loop {
  right: 82px;
  top: 29px;
  width: 292px;
  height: 86px;
  border-top: 1px solid rgba(224, 238, 255, 0.28);
  border-right: 1px solid rgba(224, 238, 255, 0.28);
  border-left: 1px solid rgba(224, 238, 255, 0.28);
  border-radius: 18px 18px 0 0;
}

.flow-before-loop span {
  left: 50%;
  top: -24px;
  transform: translateX(-50%);
}

.flow-after-loop {
  left: 184px;
  right: 112px;
  bottom: 18px;
  height: 74px;
  border-left: 1px solid rgba(224, 238, 255, 0.26);
  border-bottom: 1px solid rgba(224, 238, 255, 0.26);
  border-right: 1px solid rgba(224, 238, 255, 0.26);
  border-radius: 0 0 18px 18px;
}

.flow-after-loop span {
  right: 20px;
  bottom: 12px;
}

.flow-highlight {
  border-color: rgba(237, 247, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 34px rgba(0, 0, 0, 0.24),
    0 0 28px rgba(183, 216, 255, 0.13);
}

.spotlight {
  position: absolute;
  top: -32px;
  z-index: 1;
  width: 210px;
  height: 170px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.28), rgba(190, 221, 255, 0.11) 36%, transparent 72%);
  filter: blur(1px);
  opacity: 0;
  animation: spotlightOn 680ms ease 160ms both;
}

.spotlight-review {
  left: 30%;
}

.spotlight-pass {
  left: 57%;
}

.skills-layout {
  width: min(920px, calc(100vw - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.radar {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(280px, 100%);
  aspect-ratio: 1;
  border: 1px solid rgba(226, 236, 248, 0.16);
  border-radius: 50%;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 42% 28%, rgba(193, 218, 255, 0.16), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(8, 10, 14, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -42px 84px rgba(0, 0, 0, 0.32),
    0 28px 90px rgba(0, 0, 0, 0.3),
    0 0 38px rgba(175, 209, 255, 0.08);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.radar::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(211, 231, 255, 0.28), rgba(211, 231, 255, 0.06) 17%, transparent 32%);
  filter: blur(0.4px);
  opacity: 0.82;
  animation: radarSpin 8s linear infinite;
  z-index: -1;
}

.radar::after {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 38%),
    radial-gradient(circle at 50% 0%, rgba(214, 232, 255, 0.2), transparent 34%);
  opacity: 0.72;
  pointer-events: none;
}

.radar-ring {
  position: absolute;
  border: 1px solid rgba(226, 236, 248, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.025);
}

.ring-1 {
  inset: 28px;
}

.ring-2 {
  inset: 82px;
}

.ring-3 {
  inset: 132px;
}

.radar-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 1px solid rgba(226, 236, 248, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 950;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03)),
    rgba(12, 14, 18, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 28px rgba(194, 221, 255, 0.12);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-content: center;
}

.skill-tags span {
  padding: 12px 15px;
  border: 1px solid rgba(226, 236, 248, 0.12);
  border-radius: 999px;
  color: rgba(245, 248, 252, 0.76);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(9, 11, 15, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 32px rgba(0, 0, 0, 0.16);
  font-weight: 700;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.skill-tags span:hover {
  color: #fff;
  border-color: rgba(214, 232, 255, 0.38);
  background:
    linear-gradient(145deg, rgba(231, 242, 255, 0.13), rgba(255, 255, 255, 0.035)),
    rgba(12, 15, 20, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 38px rgba(142, 184, 255, 0.1);
  transform: translateY(-2px);
}

.more {
  background:
    linear-gradient(180deg, #030304, #08080c 45%, #030304),
    radial-gradient(circle at 25% 25%, rgba(145, 255, 115, 0.09), transparent 26%);
}

.life-tabs {
  width: min(1040px, 100%);
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.life-tab {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 18px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition:
    color 200ms ease,
    border-color 200ms ease,
    transform 200ms ease,
    background 200ms ease;
}

.life-tab:hover,
.life-tab.is-active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.life-disc {
  width: 84px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 16px rgba(0, 0, 0, 0.22), inset 0 0 0 18px rgba(255, 255, 255, 0.11);
}

.life-disc-debater {
  background-image: url("./assets/images/debater-main.webp");
}

.life-disc-leadership {
  background-image: url("./assets/images/leadership-team.webp");
}

.life-disc-influencer {
  background-image: url("./assets/images/influencer-logo.jpg");
  background-position: center top;
}

.life-disc-travel {
  background-image: url("./assets/images/travel-switzerland.webp");
}

.life-disc-dog {
  background-image: url("./assets/images/dog-lake.webp");
}

.life-panels {
  max-width: var(--max);
  margin: 0 auto;
}

.life-panel {
  display: none;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  min-height: 520px;
}

.life-panel.is-active {
  display: grid;
  animation: panelIn 360ms ease both;
}

.life-copy h3 {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.05;
}

.life-copy p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

.photo-stack {
  position: relative;
  min-height: 520px;
}

.photo-stack img {
  position: absolute;
  width: 34%;
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.photo-stack img:nth-child(1) {
  left: 8%;
  top: 28px;
  transform: rotate(-7deg);
}

.photo-stack img:nth-child(2) {
  left: 37%;
  top: 68px;
  transform: rotate(6deg);
}

.photo-stack img:nth-child(3) {
  left: 63%;
  top: 8px;
  transform: rotate(-2deg);
}

.wide-gallery,
.travel-grid,
.dog-gallery {
  display: grid;
  gap: 12px;
}

.wide-gallery {
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 240px 240px;
}

.wide-gallery img,
.travel-grid img,
.dog-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.wide-gallery img:first-child {
  grid-row: span 2;
}

.travel-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 270px;
}

.travel-grid img:nth-child(1),
.travel-grid img:nth-child(4) {
  grid-column: span 2;
}

.travel-grid img:nth-child(2),
.travel-grid img:nth-child(5) {
  grid-column: span 2;
}

.travel-grid img:nth-child(3),
.travel-grid img:nth-child(6) {
  grid-column: span 2;
}

.dog-gallery {
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: 440px;
}

.phone-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.phone-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  padding: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035)),
    #050505;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.phone-card::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 3;
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  transform: translateX(-50%);
}

.phone-card video {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  object-fit: cover;
  background: #111;
}

.closing {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 24%, rgba(196, 218, 248, 0.12), transparent 30%),
    radial-gradient(circle at 50% 78%, rgba(255, 255, 255, 0.04), transparent 34%),
    linear-gradient(180deg, #030304 0%, #08090c 50%, #030304 100%);
}

.closing::before {
  content: "";
  position: absolute;
  top: 16%;
  left: 50%;
  width: min(780px, 82vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 240, 255, 0.58), transparent);
  box-shadow:
    0 0 24px rgba(196, 218, 248, 0.22),
    0 28px 90px rgba(196, 218, 248, 0.12);
  transform: translateX(-50%);
}

.closing::after {
  content: "";
  position: absolute;
  inset: auto 10% 12%;
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(196, 218, 248, 0.08), transparent 64%);
  filter: blur(8px);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 56px));
  margin: 0 auto;
  text-align: center;
}

.closing h2 {
  max-width: 900px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 0.98;
  font-weight: 760;
}

.closing-copy {
  max-width: 630px;
  margin: 24px auto 0;
  color: rgba(245, 248, 252, 0.64);
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.62;
}

.closing-contact,
.closing-signature {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.closing-contact {
  gap: 10px;
  margin-top: 34px;
}

.closing-contact a,
.closing-contact button,
.closing-contact > span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(226, 236, 248, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(8, 10, 14, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.closing-contact button {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.closing-contact a:hover,
.closing-contact button:hover {
  color: #fff;
  border-color: rgba(214, 232, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 14px 42px rgba(142, 184, 255, 0.11);
}

.copy-action {
  position: relative;
}

.copy-action .copy-hint {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 3px 8px;
  border: 1px solid rgba(106, 255, 154, 0.34);
  border-radius: 999px;
  color: rgba(137, 255, 176, 0.98);
  background: rgba(8, 20, 13, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(88, 255, 143, 0.12);
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.copy-action .copy-hint span {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  color: #05140a;
  background: rgba(117, 255, 158, 0.98);
  font-size: 9px;
}

.copy-action.is-copied .copy-hint {
  opacity: 1;
  transform: translate(-50%, 0);
}

.copy-action.is-copied {
  border-color: rgba(117, 255, 158, 0.46);
}

.closing-signature {
  gap: 16px;
  margin-top: 28px;
  color: rgba(245, 248, 252, 0.42);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.closing-signature span {
  position: relative;
  padding: 0 5px;
}

.closing-signature span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(214, 232, 255, 0.46);
  transform: translateY(-50%);
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 42px 24px 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .icp-link {
  flex-basis: 100%;
  margin-top: -6px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}

.site-footer .icp-link:hover {
  color: rgba(232, 244, 255, 0.82);
}

@keyframes holoSweep {
  from {
    transform: translateX(-4%) rotate(-2.2deg);
  }
  to {
    transform: translateX(4%) rotate(1.4deg);
  }
}

@keyframes ticketDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  16% {
    transform: translate3d(-3px, -6px, 0) rotateX(1.2deg) rotateY(-3.6deg) rotateZ(-0.24deg);
  }
  34% {
    transform: translate3d(4.5px, -9px, 0) rotateX(-1.2deg) rotateY(7.2deg) rotateZ(0.33deg);
  }
  50% {
    transform: translate3d(7.5px, -3px, 0) rotateX(-0.525deg) rotateY(9.3deg) rotateZ(0.21deg);
  }
  66% {
    transform: translate3d(1.5px, 3px, 0) rotateX(0.825deg) rotateY(2.4deg) rotateZ(-0.12deg);
  }
  84% {
    transform: translate3d(-4.5px, -4.5px, 0) rotateX(0.975deg) rotateY(-4.5deg) rotateZ(-0.18deg);
  }
}

@keyframes ticketShadowDrift {
  0%,
  100% {
    opacity: 0.68;
    transform: translate3d(8%, 28%, -1px) scaleX(1) rotate(-3deg);
  }
  16% {
    opacity: 0.82;
    transform: translate3d(11%, 33%, -1px) scaleX(1.06) rotate(-3.75deg);
  }
  34% {
    opacity: 0.88;
    transform: translate3d(3.5%, 23.5%, -1px) scaleX(0.94) rotate(-1.2deg);
  }
  50% {
    opacity: 0.86;
    transform: translate3d(2%, 22%, -1px) scaleX(0.91) rotate(-0.6deg);
  }
  66% {
    opacity: 0.74;
    transform: translate3d(7%, 27%, -1px) scaleX(0.98) rotate(-2.4deg);
  }
  84% {
    opacity: 0.82;
    transform: translate3d(11.5%, 31.5%, -1px) scaleX(1.05) rotate(-3.6deg);
  }
}

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

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

@keyframes lineScan {
  0%,
  100% {
    transform: translateX(-12px) scaleY(0.72);
    opacity: 0.28;
  }
  50% {
    transform: translateX(12px) scaleY(1);
    opacity: 0.84;
  }
}

@keyframes orbitTilt {
  0%,
  100% {
    transform: rotate(28deg) scaleX(1);
  }
  50% {
    transform: rotate(48deg) scaleX(1.08);
  }
}

@keyframes orbitRing {
  0%,
  100% {
    transform: rotate(-24deg) scaleX(1);
    opacity: 0.48;
  }
  50% {
    transform: rotate(16deg) scaleX(1.12);
    opacity: 0.84;
  }
}

@keyframes orbitDot {
  0%,
  100% {
    transform: translate3d(-7px, -1px, 0) scale(0.82);
    opacity: 0.62;
  }
  50% {
    transform: translate3d(7px, 1px, 0) scale(1.12);
    opacity: 0.96;
  }
}

@keyframes projectCaseIn {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes flowIn {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes spotlightOn {
  from {
    opacity: 0;
    transform: translateY(-10px) scaleY(0.72);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

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

@media (max-width: 980px) {
  .hero h1 {
    font-size: 72px;
  }

  .hero-stage {
    --ring-radius: min(29vw, 270px);
  }

  .ring-card {
    width: clamp(112px, 17vw, 156px);
  }

  .section-head h2 {
    font-size: 42px;
  }

  .project-grid,
  .vibe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vibe-grid {
    width: min(760px, calc(100vw - 72px));
  }

  .ppt-strip {
    grid-template-columns: 1fr;
  }

  .flow-board {
    overflow-x: auto;
  }

  .flow-diagram {
    min-width: 820px;
  }

  .icon-grid {
    grid-template-columns: repeat(3, minmax(118px, 150px));
    gap: 18px;
  }

  .skills-layout,
  .life-panel {
    grid-template-columns: 1fr;
  }

  .skills-layout {
    width: min(680px, calc(100vw - 72px));
    justify-items: center;
    text-align: center;
  }

  .radar {
    width: min(280px, 100%);
  }

  .skill-tags {
    justify-content: center;
  }

  .life-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .phone-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .internship-shell {
    width: min(823px, calc(100vw - 96px));
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 58px;
    padding: 0 16px;
  }

  .top-nav {
    display: none;
  }

  .hero {
    padding: 86px 18px 164px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 0.94;
  }

  .hero-title-wrap::before {
    inset: -32px -38px;
  }

  .hero-meta {
    left: 18px;
    right: 18px;
    gap: 6px;
    justify-content: center;
  }

  .hero-meta > span,
  .hero-meta > a,
  .hero-meta > button {
    padding: 7px 9px;
    font-size: 11px;
  }

  .hero-meta-right {
    top: auto;
    bottom: 24px;
  }

  .hero-meta-left {
    bottom: 112px;
  }

  .hero-stage {
    --ring-radius: min(40vw, 158px);
  }

  .ring-card {
    width: clamp(76px, 24vw, 98px);
  }

  .section-pad {
    padding: 86px 18px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: 34px;
  }

  .project-grid,
  .vibe-grid {
    grid-template-columns: 1fr;
  }

  .project-showcase {
    width: min(100%, calc(100vw - 36px));
  }

  .project-grid.has-active {
    grid-template-columns: 1fr;
  }

  .case-head h3 {
    font-size: 22px;
  }

  .flow-head {
    display: grid;
  }

  .flow-toggle {
    justify-self: center;
  }

  .flow-board {
    padding: 22px;
  }

  .project-case-bsh .flow-board {
    min-height: 208px;
  }

  .flow-diagram {
    min-width: 0;
    min-height: 244px;
  }

  .project-case-bsh .flow-diagram {
    min-height: 160px;
  }

  .project-case-bsh .flow-svg {
    width: 100%;
  }

  .flow-row {
    gap: 6px;
  }

  .flow-node {
    min-width: 68px;
    min-height: 42px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 11px;
  }

  .flow-small {
    min-width: 96px;
    min-height: 38px;
  }

  .flow-arrow {
    flex-basis: 18px;
    min-width: 12px;
    max-width: 24px;
  }

  .flow-branches {
    gap: 16px;
    margin-top: 22px;
  }

  .flow-branch-line {
    width: 150px;
  }

  .flow-before-loop,
  .flow-after-loop {
    display: none;
  }

  .spotlight {
    width: 130px;
    height: 126px;
  }

  .spotlight-review {
    left: 22%;
  }

  .spotlight-pass {
    left: 47%;
  }

  .icon-grid {
    grid-template-columns: repeat(3, minmax(84px, 96px));
    gap: 14px;
  }

  .nav-tile {
    min-height: 0;
    padding: 12px 7px 10px;
    border-radius: 24px;
  }

  .tile-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    border-radius: 16px;
  }

  .tile-icon svg {
    width: 32px;
    height: 32px;
  }

  .tile-label {
    font-size: 11px;
  }

  .skills-layout {
    width: min(100%, calc(100vw - 36px));
    gap: 24px;
  }

  .radar {
    width: min(228px, 74vw);
  }

  .skill-tags {
    gap: 8px;
  }

  .skill-tags span {
    padding: 10px 12px;
    font-size: 12px;
  }

  .edu-ticket {
    width: min(324px, 92vw);
    min-height: 0;
    aspect-ratio: 1356 / 377;
  }

  .ticket-face {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .internship-shell {
    width: min(100%, calc(100vw - 48px));
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .internship-item.is-open {
    grid-column: auto;
  }

  .internship-trigger {
    min-height: 98px;
    align-items: center;
    gap: 14px;
    padding: 14px 12px;
  }

  .internship-orb {
    width: 56px;
    height: 56px;
  }

  .internship-trigger strong {
    font-size: 16px;
  }

  .internship-trigger em {
    font-size: 13px;
  }

  .internship-detail {
    margin: 0 10px 14px;
    padding: 16px;
  }

  .project-card,
  .vibe-card {
    min-height: auto;
    padding: 22px;
  }

  .life-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .life-disc {
    width: 68px;
  }

  .life-panel {
    min-height: 0;
  }

  .life-copy h3 {
    font-size: 32px;
  }

  .photo-stack {
    min-height: 480px;
  }

  .photo-stack img {
    width: 45%;
    height: 310px;
  }

  .photo-stack img:nth-child(1) {
    left: 0;
  }

  .photo-stack img:nth-child(2) {
    left: 28%;
    top: 100px;
  }

  .photo-stack img:nth-child(3) {
    left: 54%;
  }

  .wide-gallery,
  .travel-grid,
  .dog-gallery,
  .phone-rail {
    grid-template-columns: 1fr;
  }

  .wide-gallery,
  .travel-grid,
  .dog-gallery {
    grid-auto-rows: 320px;
  }

  .wide-gallery {
    grid-template-rows: none;
  }

  .wide-gallery img:first-child,
  .travel-grid img:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .phone-card {
    width: min(260px, 100%);
    margin: 0 auto;
  }

  .closing-inner {
    width: min(100%, calc(100vw - 36px));
  }

  .closing h2 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .closing-copy {
    font-size: 15px;
  }

  .closing-contact {
    display: grid;
    grid-template-columns: 1fr;
  }

  .closing-contact a,
  .closing-contact button,
  .closing-contact > span {
    justify-content: center;
  }

  .closing-signature span + span::before {
    display: none;
  }
}

@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;
  }
}
