:root {
  --bg: #090d16;
  --bg-soft: #12192b;
  --surface: #171f34;
  --text: #e9efff;
  --muted: #9ba8c7;
  --primary: #7c5cff;
  --primary-2: #31d0ff;
  --border: #293454;
  /* Spawn-style panels: near-black navy + thin light-blue frame */
  --mod-card-bg: #0a101c;
  --mod-card-border: rgb(126 200 255 / 72%);
  --mod-card-glow: rgb(90 185 255 / 16%);
  --mod-card-glow-strong: rgb(120 205 255 / 24%);
  --mod-card-radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, sans-serif;
  background: radial-gradient(circle at 20% 10%, #1a2140 0%, var(--bg) 35%);
  color: var(--text);
  scroll-behavior: smooth;
}

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Top bar uses full viewport width so left cluster / right links sit near the edges */
.topbar .container.nav-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: clamp(0.75rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgb(10 14 24 / 70%);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  overflow: visible;
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  height: 56px;
  padding-left: 0;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 0;
}

.nav-home,
.nav-discord-invite {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgb(23 31 52 / 55%);
  color: var(--muted);
}

.nav-home:hover,
.nav-discord-invite:hover {
  color: var(--text);
  border-color: rgb(255 255 255 / 22%);
}

.nav-discord-invite {
  border-color: rgb(88 101 242 / 42%);
  color: #c8d0f5;
}

.nav-discord-invite:hover {
  border-color: rgb(88 101 242 / 72%);
  color: #fff;
}

.nav-home.nav-current {
  color: var(--text);
  border-color: rgb(255 255 255 / 28%);
  box-shadow: 0 0 0 2px rgb(255 255 255 / 18%);
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  line-height: 0;
  z-index: 2;
}

.brand-logo {
  width: 156px;
  height: 156px;
  display: block;
  object-fit: contain;
  border-radius: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: var(--primary-2);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  margin: 0.5rem 0 1rem;
  line-height: 1.05;
}

.accent {
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  border: none;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
}

.hero-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #1a2340, #11182b);
  border-radius: 18px;
  padding: 1.2rem;
}

.hero-card ul {
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: rgb(255 255 255 / 2%);
  border-top: 1px solid rgb(255 255 255 / 6%);
  border-bottom: 1px solid rgb(255 255 255 / 6%);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.muted {
  color: var(--muted);
}

.carousel {
  margin-top: 1rem;
  position: relative;
  border-radius: calc(var(--mod-card-radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--mod-card-border);
  background: var(--mod-card-bg);
  box-shadow: 0 0 24px var(--mod-card-glow);
}

.workshop-duo-carousel .carousel.carousel-duo {
  margin-top: 0;
}

.carousel-viewport {
  width: 100%;
  overflow: hidden;
  background: var(--mod-card-bg);
  border-radius: var(--mod-card-radius);
}

.carousel-pairs-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: 0.65rem;
  box-sizing: border-box;
  min-width: 0;
}

.slide-cell {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--mod-card-radius);
  overflow: hidden;
  border: 1px solid var(--mod-card-border);
  background-color: var(--mod-card-bg);
  background-image: var(--slide-image);
  background-size: 82%;
  background-repeat: no-repeat;
  background-position: center center;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 4%);
}

.slide-title {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: #fff;
  padding: 0;
  background: none;
  backdrop-filter: none;
  text-shadow: 0 2px 12px rgb(0 0 0 / 85%);
}

.carousel-dots {
  margin-top: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #3a4668;
  cursor: pointer;
}

.dot.active {
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  cursor: pointer;
}

.chip.active {
  color: white;
  border-color: transparent;
  background: linear-gradient(90deg, #4630aa, #0e7dbf);
}

.grid.cards {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 1.2rem;
}

.card {
  border: 1px solid var(--mod-card-border);
  border-radius: var(--mod-card-radius);
  padding: 0;
  background: var(--mod-card-bg);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: block;
  overflow: hidden;
  position: relative;
  min-height: 220px;
  box-shadow: 0 0 20px var(--mod-card-glow);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-image);
  background-size: 82%;
  background-repeat: no-repeat;
  background-position: center center;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgb(160 220 255 / 88%);
  box-shadow: 0 12px 36px rgb(0 0 0 / 55%), 0 0 28px var(--mod-card-glow-strong);
}

.card h3,
.card p,
.card .tag {
  position: relative;
  z-index: 2;
}

.card h3 {
  margin: 0;
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: clamp(1.2rem, 1.75vw, 1.65rem);
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
  background: none;
  backdrop-filter: none;
  padding: 0;
  text-shadow: 0 2px 14px rgb(0 0 0 / 88%);
}

.card p {
  display: none;
}

.tag {
  display: none;
}

.timeline {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
}

.timeline-item {
  border-left: 3px solid var(--primary);
  padding: 0.5rem 1rem;
  background: #11182b;
  border-radius: 10px;
}

.timeline-item-with-logo {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1rem 1.1rem;
}

.client-project-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
}

.timeline-item-body {
  min-width: 0;
  flex: 1;
}

.timeline-item-body h3 {
  margin-top: 0;
}

.timeline-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.timeline-item-head h3 {
  margin: 0;
}

.client-progress-ui {
  flex: 0 0 auto;
  min-width: min(200px, 100%);
  text-align: right;
}

.client-progress-ui .progress-pct {
  margin: 0 0 0.35rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.client-progress-ui .progress-track {
  height: 10px;
  border-radius: 999px;
  background: rgb(15 22 40 / 95%);
  border: 1px solid rgb(124 92 255 / 22%);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 35%);
}

.client-progress-ui .progress-fill {
  height: 100%;
  width: var(--p, 0%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 14px rgb(49 208 255 / 35%);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-progress-ui--full-plus .progress-track {
  position: relative;
}

.client-progress-ui--full-plus .progress-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgb(255 255 255 / 6%) 4px,
    rgb(255 255 255 / 6%) 5px
  );
  pointer-events: none;
  border-radius: inherit;
}

.client-progress-ui .progress-note {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
  text-align: right;
  max-width: 240px;
  margin-left: auto;
  margin-right: 0;
}

.timeline-item p {
  color: var(--muted);
}

.client-gallery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 1.2rem;
}

.project-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #11192f, #0b1221);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 280px;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: #5d7ad0;
  box-shadow: 0 12px 28px rgb(2 8 18 / 40%);
}

.project-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090f1f;
}

.project-image,
.project-media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 0.4rem;
}

.project-image.active,
.project-media > video.active {
  opacity: 1;
}

.project-info {
  padding: 0.85rem 0.95rem 1rem;
}

.project-info h3 {
  margin: 0;
  font-size: 1.4rem;
}

.project-info p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.bvb-intro {
  padding-top: 2rem;
  padding-bottom: 0.5rem;
}

.bvb-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0 1rem;
}

.bvb-page-logo {
  display: block;
  width: auto;
  max-width: min(92vw, 520px);
  max-height: min(40vh, 260px);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 12px 28px rgb(0 0 0 / 45%));
}

.bvb-progress-block {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.bvb-progress-caption {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.bvb-progress-meter {
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.bvb-progress-meter .progress-pct {
  text-align: center;
}

.bvb-progress-meter .progress-track {
  margin: 0 auto;
}

.bvb-gallery {
  margin-top: 0.5rem;
}

.wip-mods-panel {
  margin: 0 0 2rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgb(124 92 255 / 35%);
  border-radius: 16px;
  background: linear-gradient(165deg, rgb(17 25 47 / 95%), rgb(10 15 28 / 90%));
  box-shadow: 0 12px 32px rgb(0 0 0 / 28%);
}

.wip-mods-title {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.wip-progress-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wip-progress-row {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.5rem 0.75rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 6%);
}

.wip-progress-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wip-emoji {
  font-size: 1.15rem;
  line-height: 1;
  text-align: center;
}

.wip-row-main {
  min-width: 0;
}

.wip-row-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.wip-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.wip-pct {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--primary-2);
  flex-shrink: 0;
}

.progress-track.wip-mini {
  height: 7px;
}

.progress-track.wip-mini .progress-fill {
  min-width: 0;
  box-shadow: none;
}

.wip-loading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  animation: wip-loading-pulse 1.25s ease-in-out infinite;
}

@keyframes wip-loading-pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

.nav-links a.nav-current {
  color: var(--text);
  box-shadow: 0 0 0 2px rgb(255 255 255 / 22%);
  border-radius: 8px;
}

.discord-bot-lead {
  margin-top: 1.5rem;
}

.discord-bot-lead .muted.lead-gap {
  margin-top: 1rem;
}

.discord-bot-lead .hero-actions {
  margin-top: 1.25rem;
}

.discord-bot-figure {
  margin: 1.25rem auto 1.75rem;
  max-width: 440px;
  text-align: center;
}

.discord-bot-hero-img {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--mod-card-radius);
  border: 1px solid var(--mod-card-border);
  box-shadow: 0 0 24px var(--mod-card-glow);
}

.discord-bot-copy {
  max-width: 62ch;
}

.discord-bot-copy p {
  margin: 0 0 1rem;
  line-height: 1.65;
}

.discord-bot-soon {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
}

.discord-bot-copy .hero-actions {
  margin-top: 1.5rem;
}

.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.stats div {
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  padding: 0.8rem;
  background: #121a2d;
}

.stats strong {
  display: block;
  font-size: 1.3rem;
}

.stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-wrap {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  background: linear-gradient(180deg, #171f38, #10182a);
}

.cta p {
  color: var(--muted);
}

/* Contact — same palette as rest of site (mod cards + primary/cyan) */
.contact-page {
  --inquiry-card-bg: var(--mod-card-bg);
  --inquiry-field-bg: var(--surface);
  --inquiry-border: rgb(126 200 255 / 32%);
  --inquiry-border-soft: rgb(255 255 255 / 10%);
}

.contact-inquiry {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.contact-inquiry .container-narrow {
  width: min(560px, 92%);
  margin: 0 auto;
}

.inquiry-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.inquiry-hero h1 {
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  margin: 0 0 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.inquiry-hero .inquiry-accent-line {
  width: 72px;
  height: 3px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.inquiry-hero .lead {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  max-width: 46ch;
  margin-inline: auto;
}

.inquiry-card {
  background: var(--inquiry-card-bg);
  border: 1px solid var(--mod-card-border);
  border-radius: var(--mod-card-radius);
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: 0 16px 40px rgb(0 0 0 / 45%), 0 0 24px var(--mod-card-glow);
}

.inquiry-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.inquiry-form .field {
  margin-bottom: 1.15rem;
}

.inquiry-form input[type="text"],
.inquiry-form input[type="number"],
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--inquiry-field-bg);
  border: 1px solid var(--inquiry-border-soft);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: rgb(155 168 199 / 55%);
}

.inquiry-form select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% + 2px), calc(100% - 12px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.inquiry-form textarea {
  min-height: 120px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: rgb(49 208 255 / 45%);
  box-shadow: 0 0 0 3px rgb(49 208 255 / 12%);
}

.inquiry-submit {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transition: filter 0.2s ease, transform 0.15s ease;
}

.inquiry-submit:hover:not(:disabled) {
  filter: brightness(1.07);
}

.inquiry-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.inquiry-status {
  margin-top: 1rem;
  min-height: 1.25rem;
  font-size: 0.9rem;
  text-align: center;
}

.inquiry-status.ok {
  color: #7dffb3;
}

.inquiry-status.err {
  color: #ff8a8a;
}

.inquiry-fallback {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px dashed rgb(126 200 255 / 38%);
  background: var(--inquiry-card-bg);
  font-size: 0.85rem;
  color: var(--muted);
  display: none;
}

.inquiry-fallback.visible {
  display: block;
}

.inquiry-fallback pre {
  margin: 0.75rem 0 0;
  padding: 0.75rem;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--inquiry-border-soft);
  color: var(--text);
  font-size: 0.78rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.inquiry-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.inquiry-fallback-actions .btn {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
}

.contact-accordions {
  width: min(560px, 92%);
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.inquiry-accordion {
  border: 1px solid var(--mod-card-border);
  border-radius: var(--mod-card-radius);
  background: var(--inquiry-card-bg);
  overflow: hidden;
  box-shadow: 0 0 18px var(--mod-card-glow);
}

.inquiry-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  user-select: none;
}

.inquiry-accordion summary::-webkit-details-marker {
  display: none;
}

.inquiry-accordion summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgb(49 208 255 / 10%);
  color: var(--primary-2);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.inquiry-accordion[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.inquiry-accordion-body {
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  border-top: 1px solid rgb(255 255 255 / 6%);
}

.inquiry-accordion-body p {
  margin: 0 0 0.85rem;
}

.inquiry-accordion-body p:last-child {
  margin-bottom: 0;
}

.inquiry-accordion-body h3 {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin: 1rem 0 0.45rem;
}

.inquiry-accordion-body h3:first-child {
  margin-top: 0.35rem;
}

.inquiry-accordion-body ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}

.inquiry-accordion-body li {
  margin-bottom: 0.35rem;
}

.footer {
  border-top: 1px solid rgb(255 255 255 / 6%);
  padding: 1rem 0 2rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .grid.cards {
    grid-template-columns: 1fr;
  }

  .client-gallery {
    grid-template-columns: 1fr;
  }

  .card::before {
    background-size: 86%;
  }

  .card {
    min-height: 200px;
  }

  .timeline-item-with-logo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .timeline-item-with-logo .timeline-item-body {
    text-align: center;
    width: 100%;
  }

  .timeline-item-head {
    flex-direction: column;
    align-items: center;
  }

  .client-progress-ui {
    width: 100%;
    min-width: 0;
    max-width: 280px;
    text-align: center;
  }

  .client-progress-ui .progress-pct {
    text-align: center;
  }

  .client-progress-ui .progress-note {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: none;
  }

  .wip-mods-panel {
    padding: 1rem;
  }

  .wip-name {
    font-size: 0.88rem;
  }

  .slide-cell {
    background-size: 86%;
  }

  .carousel-pair {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    padding: 0.45rem;
  }

  .topbar .container.nav-wrap {
    padding-inline: clamp(0.5rem, 3vw, 1.25rem);
  }

  .nav-wrap {
    height: 52px;
    min-height: 52px;
    padding-left: 0;
  }

  .nav-home,
  .nav-discord-invite {
    font-size: 0.72rem;
    padding: 0.28rem 0.5rem;
  }

  .brand-logo {
    width: 96px;
    height: 96px;
  }

  .nav-links {
    position: absolute;
    top: 62px;
    right: clamp(0.5rem, 3vw, 1.25rem);
    flex-direction: column;
    border: 1px solid var(--border);
    background: #101729;
    border-radius: 12px;
    padding: 0.9rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
