*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-base: #050507;
  --text: #f5f5f7;
  --text-muted: rgba(255, 255, 255, 0.68);
  --accent: #ff8a00;
  --accent-glow: rgba(255, 138, 0, 0.45);
  --border: rgba(255, 255, 255, 0.1);
  --radius: 22px;
  --banner-height: clamp(200px, 28vw, 320px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  height: 100%;
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* ── Hintergrund ── */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 75%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-float 14s ease-in-out infinite;
}

.bg-orb--1 {
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  top: -15%;
  left: -10%;
  background: rgba(255, 138, 0, 0.18);
}

.bg-orb--2 {
  width: 45vw;
  height: 45vw;
  max-width: 560px;
  max-height: 560px;
  top: 5%;
  right: -12%;
  background: rgba(90, 60, 220, 0.12);
  animation-delay: -6s;
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, 4%) scale(1.06); }
}

/* ── Intro / Enterpage ── */
.intro-screen {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 48px 24px 32px;
  text-align: center;
}

.intro-inner {
  animation: intro-rise 1.1s var(--ease-out) both;
}

.intro-eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.intro-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.12em 0.28em;
  margin: 0 0 18px;
  line-height: 0.95;
}

.intro-title-su {
  font-size: clamp(4.5rem, 18vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 0%, #ffb347 40%, #ff8a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 80px var(--accent-glow);
  animation: title-glow 4s ease-in-out infinite;
}

.intro-title-projects {
  font-size: clamp(2rem, 7vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.intro-tagline {
  margin: 0 auto 36px;
  max-width: 28rem;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
}

.intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 0, 0.55);
  background: rgba(255, 138, 0, 0.12);
  color: #ffd9a8;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    transform 0.2s var(--ease-out),
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.intro-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 138, 0, 0.22);
  box-shadow: 0 12px 40px rgba(255, 138, 0, 0.2);
}

.intro-cta svg {
  animation: bounce-down 2s ease-in-out infinite;
}

.intro-cta--secondary {
  margin-top: 12px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
}

.intro-cta--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.06);
}

.intro-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: intro-rise 1.1s var(--ease-out) 0.4s both;
}

.intro-scroll-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  animation: scroll-label-pulse 2.2s ease-in-out infinite;
}

.intro-scroll-indicator {
  position: relative;
  width: 22px;
  height: 38px;
  border: 2px solid rgba(255, 138, 0, 0.35);
  border-radius: 14px;
  background: rgba(255, 138, 0, 0.06);
  box-shadow: 0 0 20px rgba(255, 138, 0, 0.12);
  animation: scroll-indicator-glow 2.2s ease-in-out infinite;
}

.intro-scroll-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ffd9a8, #ff8a00);
  box-shadow: 0 0 8px rgba(255, 138, 0, 0.65);
  animation: scroll-dot-drop 2.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes scroll-label-pulse {
  0%, 100% {
    opacity: 0.4;
    transform: translateY(0);
    color: rgba(255, 255, 255, 0.4);
  }
  50% {
    opacity: 1;
    transform: translateY(4px);
    color: rgba(255, 217, 168, 0.95);
  }
}

@keyframes scroll-dot-drop {
  0% {
    top: 7px;
    opacity: 1;
    transform: scaleY(1);
  }
  55% {
    top: 22px;
    opacity: 0.15;
    transform: scaleY(0.85);
  }
  56%, 100% {
    top: 7px;
    opacity: 0;
    transform: scaleY(1);
  }
}

@keyframes scroll-indicator-glow {
  0%, 100% {
    border-color: rgba(255, 138, 0, 0.28);
    box-shadow: 0 0 16px rgba(255, 138, 0, 0.08);
  }
  50% {
    border-color: rgba(255, 138, 0, 0.55);
    box-shadow: 0 0 24px rgba(255, 138, 0, 0.22);
  }
}

@keyframes intro-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes title-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ── Banner-Bereich ── */
.page {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 48px;
}

.banner-section-head {
  margin-bottom: 28px;
  text-align: center;
}

.banner-section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #ffb347 50%, #ff8a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.banner-section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.banner-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 720px) {
  .banner-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .banner-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.banner-empty {
  margin: 0;
  padding: 48px 24px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  color: var(--text-muted);
}

.banner-empty code {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 138, 0, 0.12);
  color: #ffd9a8;
  font-size: 0.9em;
}

/* ── Einzelnes Banner ── */
.project-banner {
  position: relative;
  display: block;
  min-height: var(--banner-height);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out),
    border-color 0.25s ease,
    box-shadow 0.35s ease;
}

.project-banner.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.project-banner:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 60px var(--banner-glow, rgba(255, 138, 0, 0.15));
}

.project-banner:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out);
}

.project-banner:hover .banner-bg {
  transform: scale(1.06);
}

.banner-bg--gradient {
  background-image: var(--banner-gradient);
}

.banner-bg--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
  pointer-events: none;
}

.banner-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
  pointer-events: none;
}

.project-banner:hover .banner-shine {
  transform: translateX(120%);
}

.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: var(--banner-height);
  padding: clamp(24px, 4vw, 40px);
}

.banner-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.banner-tag {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.banner-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.banner-title {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.banner-desc {
  margin: 0 0 20px;
  max-width: 36rem;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s var(--ease-out);
}

.project-banner:hover .banner-cta {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateX(4px);
}

.banner-cta-arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease-out);
}

.project-banner:hover .banner-cta-arrow {
  transform: translateX(4px);
}

.banner-corner {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.2s ease, color 0.2s ease;
}

.project-banner:hover .banner-corner {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ── Footer ── */
.site-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

/* ── Navigation ── */
.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 0;
}

.site-nav--inline {
  justify-content: center;
  padding-top: 8px;
  margin-bottom: 8px;
}

.site-nav-brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

.site-nav-su {
  background: linear-gradient(180deg, #fff 0%, #ffb347 50%, #ff8a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav-links,
.site-nav--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav-links a,
.site-nav--inline a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.site-nav-links a:hover,
.site-nav--inline a:hover {
  border-color: rgba(255, 138, 0, 0.45);
  color: #ffd9a8;
}

.site-nav-links a.is-active,
.site-nav--inline a.is-active {
  border-color: rgba(255, 138, 0, 0.55);
  background: rgba(255, 138, 0, 0.12);
  color: #ffd9a8;
}

/* ── Updates-Seite ── */
.updates-page {
  padding-top: 12px;
}

.updates-section-head {
  margin-bottom: 28px;
  text-align: center;
}

.updates-section-head h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #ffb347 50%, #ff8a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.updates-section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.updates-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.updates-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.updates-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.updates-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.updates-tab:hover {
  border-color: var(--tab-accent, var(--accent));
  color: #fff;
}

.updates-tab.is-active {
  border-color: var(--tab-accent, var(--accent));
  background: var(--tab-glow, rgba(255, 138, 0, 0.15));
  color: #fff;
  box-shadow: 0 0 24px var(--tab-glow, rgba(255, 138, 0, 0.15));
}

.updates-tab-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.68rem;
  font-weight: 800;
}

.updates-tab-version {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.75;
}

.updates-tab-panel {
  padding: clamp(18px, 3vw, 28px);
}

.updates-tab-panel[hidden] {
  display: none !important;
}

.updates-panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.updates-panel-head h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
}

.updates-panel-desc {
  margin: 0;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.updates-current-badge {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--tab-accent, var(--accent));
  background: var(--tab-glow, rgba(255, 138, 0, 0.12));
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.updates-current-badge strong {
  color: #fff;
}

.updates-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.updates-release {
  position: relative;
  padding-left: 18px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.updates-release.is-latest {
  border-left-color: var(--tab-accent, var(--accent));
}

.updates-release-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.updates-release-version {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.updates-release-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.updates-release-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--tab-glow, rgba(255, 138, 0, 0.18));
  border: 1px solid var(--tab-accent, var(--accent));
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.updates-release-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.updates-release-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.updates-release-list li + li {
  margin-top: 4px;
}

.updates-no-log,
.updates-empty {
  margin: 0;
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .page {
    width: calc(100% - 24px);
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }

  .intro-screen {
    min-height: 100svh;
    padding: 40px 18px calc(28px + env(safe-area-inset-bottom));
  }

  .intro-tagline {
    margin-bottom: 28px;
    font-size: 0.95rem;
  }

  .intro-cta,
  .intro-cta--secondary {
    display: flex;
    width: 100%;
    max-width: 20rem;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .intro-cta--secondary {
    margin-top: 10px;
  }

  .site-nav,
  .site-nav--inline {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .site-nav--inline {
    margin-bottom: 12px;
  }

  .site-nav-links,
  .site-nav--inline {
    width: 100%;
  }

  .site-nav-links a,
  .site-nav--inline a {
    flex: 1;
    text-align: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .banner-section-head h2 {
    font-size: 1.35rem;
  }

  .banner-section-head p {
    font-size: 0.92rem;
  }

  .project-banner,
  .banner-content {
    min-height: clamp(160px, 42vw, 220px);
  }

  .banner-title {
    font-size: clamp(1.2rem, 5.5vw, 1.5rem);
  }

  .banner-desc {
    font-size: 0.82rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .banner-cta {
    padding: 10px 16px;
    font-size: 0.78rem;
  }

  .banner-content {
    padding: 18px;
  }

  .banner-corner {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }

  .updates-page {
    padding-top: 8px;
  }

  .updates-section-head h1 {
    font-size: 1.55rem;
  }

  .updates-tabs {
    padding: 10px;
    gap: 6px;
  }

  .updates-tab {
    flex: 1 1 100%;
    justify-content: flex-start;
    min-height: 44px;
    padding: 10px 12px;
  }

  .updates-tab-label {
    max-width: none;
    white-space: normal;
    text-align: left;
  }

  .updates-panel-head {
    flex-direction: column;
  }

  .updates-current-badge {
    align-self: flex-start;
  }

  .updates-tab-panel {
    padding: 16px;
  }

  .site-footer {
    margin-top: 40px;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .intro-scroll-hint {
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .site-nav:not(.site-nav--inline) {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .site-nav-links {
    justify-content: center;
  }
}

@media (min-width: 720px) {
  .project-banner,
  .banner-content {
    min-height: clamp(170px, 22vw, 260px);
  }

  .banner-title {
    font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  }

  .banner-desc {
    font-size: 0.88rem;
    margin-bottom: 14px;
  }

  .banner-content {
    padding: clamp(18px, 2.5vw, 28px);
  }
}

@media (max-width: 640px) {
  .banner-content {
    padding: 18px;
  }

  .banner-corner {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .intro-inner,
  .intro-scroll-hint,
  .bg-orb,
  .intro-cta svg,
  .intro-scroll-label,
  .intro-scroll-dot,
  .intro-scroll-indicator,
  .updates-panel {
    animation: none;
    opacity: 1;
    transform: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .intro-scroll-label {
    opacity: 0.6;
  }

  .project-banner {
    opacity: 1;
    transform: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .project-banner:hover .banner-bg {
    transform: none;
  }

  .project-banner:hover .banner-shine {
    transform: none;
  }
}
