/* ── Hero / About ── */
#about {
  padding: 5.5rem 0 4.5rem;
  max-width: 100%;
  overflow-x: clip;
}

/* ── Hero logo + glow ── */
.hero-logo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 2rem;
}

.hero-logo-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(47, 128, 255, 0.08) 45%, transparent 72%);
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: 128px;
  height: 128px;
  display: block;
  border-radius: 50%;
  filter: drop-shadow(0 8px 28px rgba(47, 128, 255, 0.35));
}

@media (min-width: 640px) {
  .hero-logo-glow {
    width: 320px;
    height: 320px;
  }
  .hero-logo {
    width: 160px;
    height: 160px;
  }
}

.hero-tagline {
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  color: var(--accent-hover);
  font-weight: 600;
  margin: -0.4rem 0 1.4rem;
  max-width: var(--content-max);
}

.hero-greeting {
  font-size: var(--text-label);
  color: var(--cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  background: var(--cyan-dim);
  border: 1px solid rgba(88, 175, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 22px rgba(88, 175, 255, 0.12);
}

.hero-context {
  max-width: 100%;
  margin: 0;
  padding: 0.45rem 0.7rem;
  border-left: 3px solid var(--accent);
  background: rgba(47, 128, 255, 0.08);
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(47, 128, 255, 0.22);
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  flex-shrink: 0;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.3rem;
  max-width: var(--content-max);
}

.hero-meta-row .hero-context {
  flex: 1 1 260px;
}

#about h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
}

#about .subtitle {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: var(--muted);
  margin-bottom: 2.25rem;
  max-width: var(--content-max);
  line-height: 1.62;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-lead {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: var(--content-max);
  margin: -1.25rem 0 2rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--border-strong);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-note {
  max-width: var(--content-max);
  margin: -0.8rem 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ── About category cards ── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1rem;
  margin-bottom: 2.25rem;
  max-width: 100%;
  box-sizing: border-box;
}

.about-card {
  position: relative;
  background: linear-gradient(155deg, var(--surface-glow) 0%, var(--surface) 100%);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.5rem;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  cursor: default;
  transition: border-left-color var(--ease-micro), background-color var(--ease-micro);
}

/* Static info panels, not links or buttons — hover only nudges the
   accent border so it never implies clickability (no lift, no shadow-pop). */
.about-card:hover {
  border-left-color: var(--accent);
  background: linear-gradient(155deg, var(--surface-2) 0%, var(--surface) 100%);
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  min-width: 0;
  list-style: none;
  cursor: default;
}

.about-card-header::-webkit-details-marker {
  display: none;
}

.about-card-chevron {
  display: none;
  flex-shrink: 0;
  margin-left: auto;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--muted-2);
  border-bottom: 2px solid var(--muted-2);
  transform: rotate(45deg);
  transition: transform var(--ease-micro);
}

.about-card[open] .about-card-chevron {
  transform: rotate(-135deg);
}

.about-icon {
  font-size: 0;
  line-height: 1;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-hover);
  background: linear-gradient(165deg, var(--surface-2) 0%, rgba(0, 0, 0, 0.2) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.about-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.about-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-hover);
  min-width: 0;
  word-break: break-word;
  hyphens: auto;
  line-height: 1.2;
}

.about-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
  margin: 0;
}

.cta-group {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.cta-group .btn {
  min-height: 46px;
}
/* ── Kontakt / Auftrag CTA (ersetzt Featured-Callout) ── */
.hire-cta-section {
  padding: 0.5rem 0 2.75rem;
}

.hire-cta-card {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
  background: linear-gradient(145deg, var(--surface-glow) 0%, var(--surface) 55%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.65rem;
  box-shadow: var(--shadow-card);
  transition: border-color var(--ease-micro), box-shadow var(--ease-micro), transform var(--ease-micro);
}

.hire-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-hover) 45%, var(--cyan));
  opacity: 0.92;
  pointer-events: none;
}

.hire-cta-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.hire-cta-heading {
  font-size: clamp(1.05rem, 4.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 0.65rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hire-cta-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.35rem;
  max-width: 36rem;
}

.hire-cta-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.hire-cta-actions .btn {
  flex: 1 1 auto;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.hire-cta-icon-svg {
  flex-shrink: 0;
  display: block;
  width: 1.2em;
  height: 1.2em;
  align-self: center;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #fff;
  border: none;
  box-shadow:
    0 2px 16px rgba(37, 211, 102, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
  color: #fff;
  box-shadow:
    0 6px 24px rgba(37, 211, 102, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-discord {
  background-color: #5865f2;
  color: #fff;
  border: none;
  box-shadow:
    0 2px 16px rgba(88, 101, 242, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-discord:hover {
  background-color: #4752c4;
  color: #fff;
  box-shadow:
    0 6px 24px rgba(88, 101, 242, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
/* ── Private project card (isign) ── */
.project-private {
  background: linear-gradient(145deg, var(--surface) 45%, rgba(26, 86, 199, 0.12) 100%);
  border-color: rgba(47, 128, 255, 0.28);
  position: relative;
  overflow: hidden;
}

.project-private::before {
  content: '🔐';
  position: absolute;
  top: -0.5rem;
  right: 0.5rem;
  font-size: 5rem;
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.project-private:hover {
  border-color: rgba(47, 128, 255, 0.5);
  box-shadow:
    0 14px 44px rgba(26, 86, 199, 0.24),
    var(--shadow-inset-card);
}

.project-cta-line {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--accent-hover) !important;
  flex: 0 !important;
  line-height: 1.4 !important;
  margin-top: auto;
}

.tag-private {
  background-color: var(--accent-soft);
  border-color: rgba(47, 128, 255, 0.4);
  color: var(--accent-hover);
}
/* ── Section shared ── */
section {
  padding: 4rem 0;
}

.section-label {
  font-size: var(--text-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-hover);
  font-weight: 700;
  margin-bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.95rem;
  border-radius: 6px;
  background: var(--accent-soft);
  border: 1px solid rgba(47, 128, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-deep), var(--cyan));
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(47, 128, 255, 0.5);
}

section h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  line-height: 1.2;
  text-wrap: balance;
}

/* ── Projects ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  grid-auto-rows: 1fr;
  gap: 1.15rem;
  align-items: stretch;
}

.project-card {
  position: relative;
  background: linear-gradient(160deg, var(--surface-glow) 0%, var(--surface) 55%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.65rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: border-color var(--ease-micro), transform var(--ease-micro), box-shadow var(--ease-micro);
  min-height: 248px;
  height: 100%;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 100% 0%, var(--accent-soft), transparent 50%);
  transition: opacity var(--ease-micro);
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card.featured {
  border-color: rgba(47, 128, 255, 0.38);
  background: linear-gradient(150deg, rgba(26, 86, 199, 0.14) 0%, var(--surface) 55%);
}

.project-card.featured:hover {
  border-color: rgba(47, 128, 255, 0.65);
  box-shadow:
    0 16px 48px rgba(26, 86, 199, 0.28),
    var(--shadow-inset-card);
}

.project-card h2,
.project-card h3 {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: -0.02em;
}

.project-meta {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.35;
}

.project-card.featured .project-meta {
  color: rgba(196, 181, 253, 0.85);
}

.project-card h2::after,
.project-card h3::after {
  content: '↗';
  font-size: 0.72em;
  font-weight: 400;
  opacity: 0;
  margin-left: auto;
  transition: opacity var(--ease-micro), transform var(--ease-micro);
  transform: translate(-4px, 4px);
  flex-shrink: 0;
}

.project-card:hover h2::after,
.project-card:hover h3::after {
  opacity: 0.5;
  transform: translate(0, 0);
}

.project-card p {
  color: var(--muted);
  font-size: 0.93rem;
  flex: 1;
  line-height: 1.68;
}

.project-disclaimer {
  font-size: 0.78rem !important;
  color: var(--muted);
  opacity: 0.88;
  background: var(--warm-dim);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  line-height: 1.5 !important;
  flex: 0 !important;
}

.project-disclaimer-note {
  background: var(--accent-soft);
  border-color: rgba(47, 128, 255, 0.35);
  opacity: 0.95;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.tag {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-strong);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: 4px;
}

.tag-alpha {
  background-color: rgba(251, 146, 60, 0.14);
  border-color: rgba(251, 146, 60, 0.45);
  color: var(--orange);
}

/* ── Contact / Links ── */
.links-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: linear-gradient(155deg, var(--surface-glow) 0%, var(--surface) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.45rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--ease-micro), box-shadow var(--ease-micro), transform var(--ease-micro);
  min-height: 100px;
  box-shadow: var(--shadow-card);
}

.link-item .copy-btn {
  margin-left: auto;
  opacity: 0;
  min-height: 40px;
  min-width: auto;
  padding: 0.35rem 0.85rem;
  transition: opacity var(--ease-micro), border-color var(--ease-micro), color var(--ease-micro), background-color var(--ease-micro);
}

.link-item:hover .copy-btn {
  opacity: 1;
}

@media (max-width: 899px) {
  .link-item .copy-btn {
    opacity: 1;
  }
}

.link-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.link-item-disabled {
  opacity: 0.8;
  cursor: default;
}

.link-item-disabled:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
  transform: none;
}

.link-icon {
  font-size: 0;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-hover);
  background: linear-gradient(165deg, var(--surface-2) 0%, rgba(0, 0, 0, 0.2) 100%);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.link-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.link-info strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

.link-info span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
  word-break: break-word;
}

/* ── Support Box ── */
.support-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.65rem 1.85rem;
  background: linear-gradient(125deg, var(--warm-dim) 0%, rgba(251, 191, 36, 0.04) 55%, var(--surface) 100%);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color var(--ease-micro), box-shadow var(--ease-micro), transform var(--ease-micro);
}

.support-box:hover {
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow:
    0 12px 40px rgba(251, 191, 36, 0.12),
    var(--shadow-inset-card);
  transform: translateY(-3px);
}

.support-icon {
  font-size: 0;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--warm);
  background: var(--warm-dim);
  border: 1px solid rgba(232, 184, 109, 0.28);
  border-radius: var(--radius-sm);
}

.support-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.support-content {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.support-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
}

.support-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.58;
  margin: 0;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.8rem;
  padding: 0.55rem 1.3rem;
  background: var(--warm-dim);
  border: 1px solid rgba(251, 191, 36, 0.42);
  border-radius: var(--radius-sm);
  color: var(--warm);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--ease-micro), border-color var(--ease-micro), transform var(--ease-micro);
  align-self: flex-start;
}

.support-btn:hover {
  background: rgba(251, 191, 36, 0.22);
  border-color: rgba(251, 191, 36, 0.65);
  transform: translateY(-2px);
}

/* ── Crypto card ── */
.crypto-card {
  background: linear-gradient(130deg, rgba(26, 86, 199, 0.14) 0%, var(--surface) 50%, var(--cyan-dim) 100%);
  border: 1px solid rgba(47, 128, 255, 0.28);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.55rem;
  margin-top: 1rem;
  transition: border-color var(--ease-micro), box-shadow var(--ease-micro);
  box-shadow: var(--shadow-card);
}

.crypto-card:hover {
  border-color: rgba(47, 128, 255, 0.5);
  box-shadow:
    0 12px 40px rgba(26, 86, 199, 0.2),
    var(--shadow-inset-card);
}

.crypto-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

.crypto-icon {
  font-size: 0;
  width: 2.1rem;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-hover);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.crypto-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.crypto-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.crypto-address {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text);
  word-break: break-all;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.95rem;
  margin-bottom: 0.6rem;
}

.crypto-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ── Desktop: no sticky top-nav to clear ── */
@media (min-width: 900px) {
  #about {
    padding-top: 3.5rem;
  }

  /* Desktop bleibt statisch: Text immer sichtbar, unabhängig vom
     nativen open/closed-Status des <details>-Elements. */
  .about-card p {
    display: block !important;
  }
}

/* ── Mobile: Karten/Grids bündig zum Display (Inhalt darüber behält Seitenabstand) ── */
@media (max-width: 899px) {
  .projects-grid,
  .links-list,
  section.hire-cta-section,
  .support-box,
  .crypto-card,
  main > hr.divider {
    margin-left: calc(-1 * var(--page-gutter-l));
    margin-right: calc(-1 * var(--page-gutter-r));
    width: calc(100% + var(--page-gutter-l) + var(--page-gutter-r));
    max-width: none;
  }

  section.hire-cta-section {
    box-sizing: border-box;
    overflow-x: clip;
  }

  .hire-cta-card {
    max-width: 100%;
  }

  /* Hero: keine 2×280px-Kacheln — eine Spalte bis Sidebar einsetzt */
  #about h1 {
    font-size: clamp(1.35rem, 5vw, 2.15rem);
    line-height: 1.2;
    margin-bottom: 0.85rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
  }

  .about-card {
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-md);
  }

  .about-card-header {
    gap: 0.5rem;
    margin-bottom: 0;
    cursor: pointer;
  }

  .about-card[open] .about-card-header {
    margin-bottom: 0.6rem;
  }

  .about-card-chevron {
    display: inline-block;
  }

  .about-icon {
    width: 2rem;
    height: 2rem;
  }

  .about-icon svg {
    width: 1rem;
    height: 1rem;
  }

  .about-label {
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    max-width: none;
  }

  .hire-cta-actions {
    flex-direction: column;
  }

  .hire-cta-actions .btn {
    width: 100%;
    flex: none;
  }
}

/* ── Mobile responsive ── */
@media (max-width: 640px) {
  #about {
    padding: 2.25rem 0 2rem;
  }

  #about h1 {
    font-size: clamp(1.35rem, 7vw, 2.05rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  #about .subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .hero-lead {
    margin: -0.85rem 0 1.35rem;
    font-size: 0.9rem;
    line-height: 1.55;
    padding-top: 0.65rem;
  }

  section {
    padding: clamp(1.75rem, 5vw, 2.25rem) 0;
  }

  section h2 {
    font-size: clamp(1.25rem, 5vw, 1.6rem);
    margin-bottom: 1.5rem;
  }

  /* Project cards: compact with clamped description */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .project-card {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    min-height: 0;
    gap: 0.4rem;
  }

  .project-meta {
    font-size: 0.66rem;
    letter-spacing: 0.05em;
  }

  .project-card p:not(.project-disclaimer) {
    font-size: 0.85rem;
    line-height: 1.55;
  }

  .project-tags {
    margin-top: 0.2rem;
  }

  /* Contact */
  .links-list {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .link-item {
    padding: 0.9rem 1rem;
    gap: 0.8rem;
    min-height: 0;
    border-radius: 10px;
  }

  .link-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
  }

  .link-icon svg {
    width: 1rem;
    height: 1rem;
  }

  .link-info strong {
    font-size: 0.92rem;
  }

  .link-info span {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  /* Support */
  .support-box {
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.15rem;
  }

  .support-icon {
    width: 2.15rem;
    height: 2.15rem;
  }

  .support-icon svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  .hire-cta-card {
    padding: 1.2rem 1rem;
  }

  .hire-cta-sub {
    font-size: 0.88rem;
    margin-bottom: 1.1rem;
  }

  /* Hero CTA-Gruppe */
  .cta-group {
    gap: 0.6rem;
  }

  .cta-group .btn {
    flex: 1 1 100%;
    justify-content: center;
    width: 100%;
    white-space: normal;
  }
}

/* ── Very small screens (< 380px): engere About-Zeilen (nach ≤899, damit es greift) ── */
@media (max-width: 379px) {
  .about-card {
    padding: 0.55rem 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-card:hover,
  .link-item:hover,
  .support-box:hover,
  .hire-cta-card:hover,
  .crypto-card:hover,
  .btn-whatsapp:hover,
  .btn-discord:hover {
    transform: none;
  }

  .project-card:hover::before {
    opacity: 0;
  }

  .about-card-chevron {
    transition: none;
  }
}

/* ── Professional portfolio polish ── */
.hero-greeting {
  border-radius: 999px;
  font-family: var(--font-sans);
  box-shadow: none;
}

.hero-status {
  border-radius: 999px;
  background: var(--accent-soft);
  border-color: rgba(110, 168, 255, 0.28);
  color: var(--accent-hover);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-status::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.16);
  flex-shrink: 0;
}

.hero-context {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-sans);
  font-size: 0.93rem;
  letter-spacing: 0;
}

#about h1,
section h2,
.hire-cta-heading,
.support-heading,
.project-card h3 {
  font-family: var(--font-sans);
  letter-spacing: -0.03em;
}

#about .subtitle,
.hero-lead,
.about-card p,
.project-card p,
.link-info span {
  font-family: var(--font-sans);
}

.about-card {
  border-radius: var(--radius-md);
  border-left: 3px solid var(--border-strong);
  background: linear-gradient(155deg, var(--surface-glow) 0%, var(--surface) 100%);
  box-shadow: var(--shadow-card);
}

.about-card:hover {
  border-left-color: var(--accent);
  background: linear-gradient(155deg, var(--surface-2) 0%, var(--surface) 100%);
}

.about-icon {
  font-size: 0;
  color: var(--accent-hover);
  border-radius: var(--radius-sm);
  background: linear-gradient(165deg, var(--surface-2) 0%, rgba(0, 0, 0, 0.18) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.about-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.about-label {
  font-family: var(--font-sans);
  color: var(--accent-hover);
}

.section-label {
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  background: var(--accent-soft);
  border: 1px solid rgba(110, 168, 255, 0.24);
  color: var(--accent-hover);
  font-family: var(--font-sans);
  box-shadow: none;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-deep), var(--cyan));
  box-shadow: 0 0 8px rgba(110, 168, 255, 0.4);
  font-size: 0;
}

.hire-cta-card,
.project-card,
.link-item,
.support-box,
.crypto-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: linear-gradient(155deg, var(--surface-glow) 0%, var(--surface) 100%);
}

.hire-cta-card::before {
  height: 3px;
  width: auto;
  left: 0;
  right: 0;
  top: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-hover) 55%, var(--cyan));
}

.hire-cta-card:hover,
.project-card:hover,
.link-item:hover,
.support-box:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.project-card::before {
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 100% 0%, var(--accent-soft), transparent 48%);
  opacity: 0;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card.featured,
.project-private {
  border-color: rgba(110, 168, 255, 0.35);
  background: linear-gradient(150deg, rgba(59, 130, 246, 0.1) 0%, var(--surface) 58%);
}

.project-meta,
.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.tag {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

.project-disclaimer,
.project-disclaimer-note {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(232, 184, 109, 0.28);
  background: var(--warm-dim);
  padding: 0.5rem 0.75rem;
}

.link-icon,
.crypto-icon {
  border-radius: var(--radius-sm);
}

.link-info strong {
  font-family: var(--font-sans);
  font-size: 0.98rem;
}

.crypto-address {
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.crypto-label {
  font-family: var(--font-mono);
  color: var(--accent-hover);
}

/* Hidden IT easter egg: only visible to inspectors / when selected */
.easter-egg {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 899px) {
  .hire-cta-card:hover,
  .project-card:hover,
  .link-item:hover,
  .support-box:hover {
    transform: none;
  }
}

/* ── Blog + newsletter ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(155deg, var(--surface-glow) 0%, var(--surface) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: border-color var(--ease-micro), transform var(--ease-micro), box-shadow var(--ease-micro);
}

.blog-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.blog-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted-2);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.blog-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--text);
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
}

.blog-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-hover);
}

/* ── Services / trust ── */
.services-header {
  max-width: 48rem;
}

.services-header h2 {
  margin-bottom: 0.8rem;
}

.services-header p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 230px;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-md);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(130, 169, 255, 0.28);
  border-radius: var(--radius-sm);
  color: var(--accent-hover);
  background: rgba(79, 131, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.service-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.services-cta {
  display: inline-flex;
  margin-top: 0.35rem;
  color: var(--accent-hover);
  font-weight: 700;
  text-decoration: none;
}

.services-cta:hover {
  text-decoration: underline;
}

.contact-trust {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-trust li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-trust li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent-hover);
  box-shadow: 0 0 0 4px rgba(79, 131, 255, 0.12);
  content: "";
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.blog-article {
  max-width: 42rem;
  padding: 3.5rem 0 4rem;
}

.blog-article .blog-meta {
  margin-bottom: 0.75rem;
}

.blog-article h1 {
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.blog-article .lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.blog-article p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 1.1rem;
}

.blog-article h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.blog-back {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: var(--accent-hover);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-back:hover {
  text-decoration: underline;
}


/* ── Skills row ── */
.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  max-width: 42rem;
}
.skills-row li {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

/* ── Case study ── */
.case-study {
  margin: 0 0 1.5rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(110,168,255,0.08), var(--surface) 60%);
  box-shadow: var(--shadow-card);
}
.case-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hover);
  font-family: var(--font-mono);
}
.case-study h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  line-height: 1.35;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.case-grid h4 {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.case-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.case-link {
  color: var(--accent-hover);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}
.case-link:hover { text-decoration: underline; }

/* ── Forms ── */
.hire-form,
.contact-form {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}
.hire-form-title,
.contact-form-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
}
.hire-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.hire-form-full { grid-column: 1 / -1; }
.hire-form label,
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.hire-form input,
.hire-form textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  resize: vertical;
}
.hire-form textarea,
.contact-form textarea { min-height: 110px; }
.hire-form input:focus,
.hire-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.hire-form-note {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--muted-2);
}

.form-status {
  min-height: 1.4em;
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}
@media (max-width: 640px) {
  .hire-form-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════
   2026 portfolio layout
   ══════════════════════════════ */
.surface {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 20px 60px rgba(0, 0, 0, 0.15);
  transition:
    transform var(--ease-micro),
    border-color var(--ease-micro),
    box-shadow var(--ease-micro);
}

.surface::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: radial-gradient(
    420px circle at var(--pointer-x) var(--pointer-y),
    rgba(79, 131, 255, 0.12),
    transparent 42%
  );
  transition: opacity var(--ease-micro);
}

.surface > * {
  position: relative;
  z-index: 1;
}

#about {
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 7rem);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  min-height: 0;
  padding-bottom: clamp(5rem, 9vw, 8rem);
  text-align: center;
}

.hero-copy {
  grid-row: 2;
  width: 100%;
  min-width: 0;
  max-width: 780px;
  margin-inline: auto;
  overflow-wrap: anywhere;
}

.hero-copy .subtitle {
  margin-bottom: 0.7rem;
}

.hero-copy .hero-tagline {
  margin: 0 0 1.35rem;
  max-width: none;
}

.hero-copy .hero-lead {
  max-width: 39rem;
  margin: 0 auto 1.25rem;
  padding: 0;
  border: 0;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.hero-copy .hero-status {
  margin-bottom: 1.5rem;
  border-radius: 999px;
}

.hero-copy .cta-group {
  justify-content: center;
  margin: 0 0 1.65rem;
}

.hero-visual {
  --logo-rotate-x: 0deg;
  --logo-rotate-y: 0deg;
  position: relative;
  display: grid;
  grid-row: 1;
  place-items: center;
  width: min(72vw, 390px);
  aspect-ratio: 1;
  justify-self: center;
  transform: perspective(900px) rotateX(var(--logo-rotate-x)) rotateY(var(--logo-rotate-y));
  transform-style: preserve-3d;
  transition: transform 180ms var(--ease-out);
}

.hero-visual picture {
  display: grid;
  width: 100%;
  place-items: center;
}

.hero-visual .hero-logo-glow {
  width: 92%;
  height: 92%;
  background: radial-gradient(circle, rgba(79, 131, 255, 0.22), rgba(47, 128, 255, 0.06) 45%, transparent 70%);
  filter: blur(10px);
}

.hero-visual .hero-logo {
  width: min(68%, 292px);
  height: auto;
  border: 1px solid rgba(130, 169, 255, 0.25);
  box-shadow:
    0 0 0 10px rgba(79, 131, 255, 0.035),
    0 30px 80px rgba(0, 0, 0, 0.36);
  filter: drop-shadow(0 8px 28px rgba(47, 128, 255, 0.26));
  transform: translateZ(24px);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(130, 169, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-outer {
  width: 92%;
  height: 92%;
}

.hero-orbit-inner {
  width: 76%;
  height: 76%;
  border-color: rgba(130, 169, 255, 0.08);
}

.tech-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0;
}

.tech-summary div {
  padding: 0 1rem;
  border-left: 1px solid var(--border-strong);
}

.tech-summary div:first-child {
  padding-left: 0;
  border-left: 0;
}

.tech-summary dt {
  margin-bottom: 0.1rem;
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tech-summary dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0;
  align-items: stretch;
}

.about-card {
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border-left-width: 1px;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.about-card-primary {
  grid-column: auto;
  grid-row: auto;
}

.about-card-work {
  grid-column: auto;
}

.about-card-ai,
.about-card-interests {
  grid-column: auto;
}

.about-card-primary p {
  max-width: 38rem;
  font-size: 1rem;
}

.about-card:hover {
  border-left-color: var(--border-hover);
  background: var(--surface);
}

.case-study {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(79, 131, 255, 0.1), rgba(18, 24, 36, 0.78) 58%),
    var(--surface-solid);
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.case-study h3 {
  max-width: 22ch;
  margin-bottom: 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.case-intro {
  max-width: 38rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
}

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

.case-grid > div:last-child {
  grid-column: 1 / -1;
}

.case-preview {
  overflow: hidden;
  min-height: 290px;
  border: 1px solid rgba(130, 169, 255, 0.18);
  border-radius: var(--radius-md);
  background: #0b1019;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
}

.case-preview-bar {
  display: flex;
  gap: 0.35rem;
  height: 32px;
  padding: 0 0.75rem;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.case-preview-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
}

.case-preview-main {
  display: grid;
  grid-template-columns: 26% 1fr;
  min-height: 258px;
}

.case-preview-nav {
  border-right: 1px solid var(--border);
  background: rgba(79, 131, 255, 0.035);
}

.case-preview-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.5rem 1.2rem;
}

.case-preview-heading {
  width: 52%;
  height: 14px;
  margin-bottom: 0.3rem;
  border-radius: 5px;
  background: rgba(130, 169, 255, 0.28);
}

.case-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.case-preview-row span {
  width: 55%;
  height: 7px;
  border-radius: 4px;
  background: rgba(167, 176, 191, 0.2);
}

.case-preview-row i {
  width: 28px;
  height: 7px;
  border-radius: 4px;
  background: rgba(79, 131, 255, 0.3);
}

.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.project-card {
  min-height: 0;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.project-card p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.project-card::before {
  display: none;
}

.project-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.4rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--accent-hover);
  background: rgba(79, 131, 255, 0.07);
}

.project-mark svg {
  width: 21px;
  height: 21px;
}

.project-mark strong {
  font-size: 0.78rem;
  letter-spacing: -0.04em;
}

.projects-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: stretch;
  margin-top: 1rem;
}

.project-recommendation {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.15rem 0.85rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.76rem;
  text-decoration: none;
  background: rgba(79, 131, 255, 0.045);
}

.project-recommendation > span {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-recommendation strong {
  font-size: 0.9rem;
  line-height: 1.3;
}

.project-recommendation small {
  color: var(--muted-2);
  font-size: 0.78rem;
  line-height: 1.4;
}

.projects-index-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.projects-index-link:hover,
.project-recommendation:hover {
  border-color: var(--border-hover);
  color: var(--accent-hover);
}

@media (min-width: 1081px) {
  #projects .projects-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  #projects .project-card {
    grid-column: span 2;
  }

  #projects .project-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  #projects .project-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.project-page {
  min-height: 75vh;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.project-page > h1,
.case-page-header h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.project-page-lead {
  max-width: 44rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.project-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.project-page-disclaimer {
  max-width: 44rem;
  margin-top: 1rem;
}

.project-index .projects-grid {
  margin-top: 2.5rem;
}

.case-page-header {
  max-width: 48rem;
  margin-bottom: 3rem;
}

.case-page-preview {
  max-width: 58rem;
  margin: 0 0 3.5rem;
}

.case-page-preview .case-preview {
  transform: none;
}

.case-page-preview figcaption {
  margin-top: 0.65rem;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.project-mockup {
  max-width: 58rem;
  margin: 0 0 3rem;
  padding: 0;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 78% 18%, rgba(79, 131, 255, 0.2), transparent 18rem),
    var(--surface);
}

.project-mockup figcaption {
  padding: 0.7rem 1rem 0.95rem;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.mockup-window-bar {
  display: flex;
  gap: 0.38rem;
  align-items: center;
  height: 34px;
  padding: 0 0.9rem;
  border-bottom: 1px solid var(--border);
}

.mockup-window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
}

.mockup-terminal {
  display: grid;
  gap: 0.8rem;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  font-family: var(--font-mono);
}

.mockup-terminal p {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(130, 169, 255, 0.16);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.24);
  font-size: clamp(0.72rem, 2vw, 0.9rem);
}

.mockup-terminal span {
  margin-right: 0.75rem;
  color: var(--accent-hover);
}

.mockup-player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(140px, 0.65fr);
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.6rem);
}

.mockup-player-screen {
  display: grid;
  place-items: center;
  min-height: 240px;
  border: 1px solid rgba(130, 169, 255, 0.18);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(79, 131, 255, 0.22), transparent 55%),
    #080c13;
}

.mockup-play {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(130, 169, 255, 0.35);
  border-radius: 50%;
  color: var(--text);
  background: rgba(79, 131, 255, 0.16);
  box-shadow: 0 0 36px rgba(79, 131, 255, 0.22);
}

.mockup-channel-list {
  display: grid;
  gap: 0.75rem;
}

.mockup-channel-list span {
  border: 1px solid rgba(130, 169, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.mockup-phone {
  position: relative;
  width: min(280px, 74vw);
  min-height: 390px;
  margin: clamp(1rem, 4vw, 1.8rem) auto 0;
  padding: 3rem 1rem 1.2rem;
  border: 1px solid rgba(130, 169, 255, 0.22);
  border-radius: 2.2rem;
  background:
    linear-gradient(180deg, rgba(79, 131, 255, 0.12), transparent 38%),
    #0b1019;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.mockup-phone-notch {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  width: 5.5rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
  transform: translateX(-50%);
}

.mockup-app-card,
.mockup-progress,
.mockup-phone-lines i {
  border: 1px solid rgba(130, 169, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.mockup-app-card {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
}

.mockup-app-card strong {
  color: var(--text);
}

.mockup-app-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.mockup-progress {
  height: 0.85rem;
  margin: 1rem 0;
  overflow: hidden;
}

.mockup-progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-hover));
}

.mockup-phone-lines {
  display: grid;
  gap: 0.7rem;
}

.mockup-phone-lines i {
  height: 2.6rem;
}

@media (max-width: 720px) {
  .mockup-player-layout {
    grid-template-columns: 1fr;
  }

  .mockup-player-screen {
    min-height: 180px;
  }
}

.case-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
}

.case-page-grid section {
  margin: 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--surface-solid);
}

.case-page-grid h2 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.case-page-grid p {
  max-width: 65ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.blog-card {
  border-radius: var(--radius-md);
  background: var(--surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.case-page-grid {
  grid-template-columns: 1fr;
}

.contact-copy h2 {
  margin-bottom: 1rem;
}

.contact-note {
  margin: 0 0 1.75rem;
}

.contact-methods {
  display: grid;
  gap: 0.4rem;
}

.contact-method {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0;
  color: var(--muted-2);
  text-decoration: none;
}

.contact-method strong {
  color: var(--text);
  font-size: 0.92rem;
}

.contact-method:hover strong {
  color: var(--accent-hover);
}

.contact-form {
  margin-top: 0;
  padding: clamp(1.3rem, 3vw, 2rem);
  border-top: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.anchor-target {
  position: absolute;
  transform: translateY(-5rem);
}

#support {
  padding-top: 2rem;
}

#support .section-label {
  margin-bottom: 0.75rem;
}

.support-box {
  margin-top: 0;
  padding: 1rem 1.2rem;
  border-color: var(--border);
  background: transparent;
  box-shadow: none;
}

.support-box:hover {
  border-color: var(--border-hover);
  box-shadow: none;
  transform: none;
}

.support-more {
  margin-top: 0.75rem;
}

.support-more summary {
  width: fit-content;
  color: var(--muted-2);
  font-size: 0.8rem;
  cursor: pointer;
}

.support-more summary:hover {
  color: var(--accent-hover);
}

.crypto-card {
  max-width: 44rem;
  margin-top: 0.75rem;
  border-radius: var(--radius-md);
  background: var(--surface);
}

@media (hover: hover) and (pointer: fine) {
  .surface:hover {
    border-color: var(--border-hover);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.035),
      0 24px 70px rgba(0, 0, 0, 0.22);
    transform: translateY(-2px);
  }

  .surface:hover::after {
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 641px) {
  .projects-grid {
    grid-auto-rows: 1fr;
  }

  .project-card {
    min-height: 100%;
  }
}

@media (max-width: 899px) {
  #about {
    padding-top: 3.5rem;
  }

  .hero-layout {
    min-height: 0;
    padding-bottom: 5rem;
  }

  .hero-visual {
    width: min(78vw, 360px);
  }

  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: 0;
    width: 100%;
  }

  .about-card-primary,
  .about-card-work,
  .about-card-ai,
  .about-card-interests {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .case-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .case-preview {
    min-height: 240px;
    transform: none;
  }

  .projects-grid,
  .blog-grid {
    margin-inline: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-layout {
    gap: 1.5rem;
  }

  .hero-visual {
    width: min(86vw, 310px);
  }

  .hero-copy .cta-group {
    display: flex;
    justify-content: center;
  }

  .tech-summary {
    display: grid;
    gap: 0.75rem;
  }

  .tech-summary div,
  .tech-summary div:first-child {
    padding: 0 0 0 0.8rem;
    border-left: 1px solid var(--border-strong);
  }

  .about-grid,
  .projects-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-auto-rows: auto;
  }

  .about-card-ai,
  .about-card-interests {
    grid-column: 1 / -1;
  }

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

  .case-grid > div:last-child {
    grid-column: auto;
  }

  .case-preview {
    display: none;
  }

  .projects-footer {
    grid-template-columns: 1fr;
  }

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

  .project-recommendation > span {
    grid-row: auto;
  }

  .contact-layout {
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual {
    transform: none !important;
  }
}
