:root {
  --bg: #08090d;
  --bg-2: #0c0e14;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-2: rgba(255, 255, 255, 0.085);
  --surface-3: #111520;
  --text: #f4f7fb;
  --text-soft: #c6cfdd;
  --muted: #8993a4;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.20);
  --accent: #7aa7ff;
  --accent-2: #d7b36a;
  --danger: #fb7185;
  --success: #34d399;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --container: 1160px;
}


body.light-mode {
  --bg: #f6f7f9;
  --bg-2: #eef1f5;
  --surface: rgba(255,255,255,.76);
  --surface-2: rgba(255,255,255,.96);
  --surface-3: #fff;
  --text: #111827;
  --text-soft: #374151;
  --muted: #6b7280;
  --line: rgba(17,24,39,.12);
  --line-strong: rgba(17,24,39,.20);
  --accent: #2563eb;
  --accent-2: #a16207;
  --shadow: 0 24px 80px rgba(15,23,42,.12);
  background: #f6f7f9;
}
body.light-mode .site-header { background: rgba(246,247,249,.76); }
body.light-mode .site-header.is-scrolled { background: rgba(246,247,249,.94); }
body.light-mode .brand-mark { color: #111827; background: linear-gradient(135deg, rgba(37,99,235,.16), rgba(161,98,7,.12)); }
body.light-mode .nav-links a:hover { color: #111827; }
body.light-mode .nav-button,
body.light-mode .button-primary,
body.light-mode .small-button { background: #111827; color: #fff; }
body.light-mode .button-secondary { color: #111827; background: rgba(255,255,255,.62); }
body.light-mode .menu-button span { background: #111827; }
body.light-mode .hero-card,
body.light-mode .form { background: rgba(255,255,255,.70); }
body.light-mode .hero-card-top strong { color: #111827; }
body.light-mode .hero-card-list p,
body.light-mode input,
body.light-mode select,
body.light-mode textarea { background: rgba(255,255,255,.74); color: #111827; }
body.light-mode .dark { background: #111827; color: #f8fafc; }
body.light-mode .footer { background: #eef1f5; }


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0a0b10;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #07101f; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(100% - 40px, var(--container)); margin: 0 auto; }
.section { padding: 104px 0; position: relative; }
.soft { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)); }
.dark { background: #07080c; color: var(--text); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 13, 0.72);
  backdrop-filter: blur(22px) saturate(145%);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, border-color .3s ease;
}
.site-header.is-scrolled { background: rgba(8, 9, 13, 0.90); border-bottom-color: var(--line-strong); }
.nav-wrap { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;

  display: block;
  object-fit: cover;

  /* optional clean look */
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--text-soft); font-size: .94rem; font-weight: 650; }
.nav-links a { position: relative; opacity: .84; transition: opacity .2s ease, color .2s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--accent); transition: right .28s ease; }
.nav-links a:hover { opacity: 1; color: white; }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 13px; color: var(--text-soft);
  background: rgba(255,255,255,.045); font-size: .88rem; font-weight: 800;
  transition: transform .24s ease, border-color .24s ease, background .24s ease, color .24s ease;
}
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--surface); color: var(--text); }
.theme-toggle__icon { width: 18px; text-align: center; line-height: 1; }
.nav-button, .button {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 12px 20px; font-weight: 750;
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}
.nav-button { background: white; color: #07080c; font-size: .92rem; }
.nav-button:hover, .button:hover { transform: translateY(-2px); }
.menu-button { display: none; background: transparent; border: 1px solid var(--line); border-radius: 14px; width: 44px; height: 44px; }
.menu-button span { display: block; width: 18px; height: 2px; background: white; margin: 5px auto; transition: .25s ease; }
.menu-button.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.hero { min-height: calc(100vh - 74px); display: flex; align-items: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  right: 10%; top: 18%; background: radial-gradient(circle, rgba(122,167,255,.24), transparent 70%);
  filter: blur(20px); animation: floatGlow 8s ease-in-out infinite alternate;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.label { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 900; margin: 0 0 18px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3.5rem, 8vw, 7.8rem); line-height: .88; letter-spacing: -.08em; margin-bottom: 26px; }
h2 { font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1; letter-spacing: -.055em; margin-bottom: 18px; }
h3 { font-size: 1.15rem; letter-spacing: -.025em; margin-bottom: 10px; }
.hero-text { color: var(--text-soft); font-size: clamp(1.08rem, 2vw, 1.35rem); max-width: 610px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button-primary { background: #f5f7fb; color: #07080c; box-shadow: 0 18px 42px rgba(255,255,255,.08); }
.button-primary:hover { box-shadow: 0 20px 55px rgba(122,167,255,.18); }
.button-secondary { border: 1px solid var(--line-strong); color: white; background: rgba(255,255,255,.04); }
.button-secondary:hover { background: rgba(255,255,255,.09); }
.hero-card {
  min-height: 500px; border-radius: var(--radius-lg); padding: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
    radial-gradient(circle at 70% 20%, rgba(215,179,106,.18), transparent 18rem);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
}

.hero-character {
  width: 100%;
  height: 100%;

  object-fit: cover;          /* füllt komplett */
  object-position: center 20%; /* 🔥 verschiebt Bild nach unten → oben/unten mehr Luft */
}


.hero-card-top { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); position: relative; z-index: 1; }
.hero-card-top strong { color: white; }
.hero-card-list { position: absolute; left: 26px; right: 26px; bottom: 26px; z-index: 1; display: grid; gap: 12px; }
.hero-card-list p { margin: 0; padding: 16px 18px; border: 1px solid var(--line); background: rgba(8,9,13,.55); backdrop-filter: blur(14px); border-radius: 18px; color: var(--text-soft); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head p:not(.label), .text-block p { color: var(--text-soft); font-size: 1.03rem; }
.text-block { padding: 28px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-lg); }
.text-block p:last-child { margin-bottom: 0; }

.card-grid, .project-grid, .product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .project-card, .product-card, .step, .form, .contact-grid a {
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
  transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
}
.card:hover, .project-card:hover, .product-card:hover, .step:hover, .contact-grid a:hover {
  transform: translateY(-6px); border-color: var(--line-strong); background: var(--surface-2); box-shadow: var(--shadow);
}
.card { padding: 24px; min-height: 210px; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; right: -70px; top: -70px; background: rgba(122,167,255,.10); transition: transform .35s ease; }
.card:hover::after { transform: scale(1.4); }
.card-icon { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: rgba(122,167,255,.12); color: var(--accent); font-weight: 900; margin-bottom: 22px; }
.card p, .project-card p, .product-card p, .step p { color: var(--muted); margin-bottom: 0; }
.project-card, .product-card { overflow: hidden; }
.visual { min-height: 180px; background: linear-gradient(135deg, #172033, #0e111a); display: flex; align-items: flex-end; padding: 18px; position: relative; overflow: hidden; }
.visual::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 90deg, transparent, rgba(122,167,255,.24), transparent, rgba(215,179,106,.16), transparent); animation: spin 12s linear infinite; opacity: .7; }
.visual::after { content: ""; position: absolute; inset: 1px; border-radius: 18px 18px 0 0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.10), transparent 18rem); }
.badge { position: relative; z-index: 1; display: inline-flex; border-radius: 999px; padding: 7px 12px; background: rgba(8,9,13,.68); border: 1px solid var(--line); font-size: .78rem; font-weight: 850; color: var(--text-soft); backdrop-filter: blur(12px); }
.card-body { padding: 22px; }
.meta { color: var(--accent); font-weight: 850; font-size: .82rem; margin-bottom: 10px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.price { font-size: 1.3rem; font-weight: 900; }
.small-button { border: 0; padding: 9px 14px; border-radius: 999px; background: white; color: #07080c; font-weight: 850; transition: transform .2s ease, background .2s ease; }
.small-button:hover { transform: translateY(-2px); background: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { padding: 22px; }
.step span { color: var(--accent-2); font-weight: 900; }

.commission-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
.form { padding: 26px; background: rgba(255,255,255,.07); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 8px; margin-bottom: 16px; font-weight: 800; color: var(--text-soft); }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 15px; background: rgba(8,9,13,.72); color: white;
  padding: 13px 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #697386; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(122,167,255,.14); background: rgba(8,9,13,.95); }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--danger); }
.checkbox { display: flex; grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-weight: 600; color: var(--muted); }
.checkbox input { width: 18px; margin-top: 4px; accent-color: var(--accent); }
.full { width: 100%; }
.success-message { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 15px; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .35); color: #b7f7dd; font-weight: 750; }
.form.is-submitted .success-message { display: block; animation: pop .28s ease both; }
.success-message.error-message { background: rgba(251, 113, 133, .12); border-color: rgba(251, 113, 133, .35); color: #fecdd3; }
button:disabled { opacity: .65; cursor: not-allowed; transform: none !important; }

.contact-wrap { text-align: center; }
.dark .label { color: var(--accent-2); }
.dark p { color: var(--text-soft); margin-left: auto; margin-right: auto; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.contact-grid a { padding: 20px; font-weight: 850; }
.footer { padding: 28px 0; background: #06070a; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(24px) scale(.985); filter: blur(6px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1), filter .7s ease; transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }
.hero-copy.reveal.is-visible h1 { animation: titleIn .9s cubic-bezier(.22,1,.36,1) both; }
.floaty { animation: softFloat 5.5s ease-in-out infinite alternate; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatGlow { to { transform: translate3d(-50px, 35px, 0) scale(1.08); } }
@keyframes softFloat { to { transform: translateY(-10px); } }
@keyframes titleIn { from { letter-spacing: -.13em; opacity: .2; transform: translateY(18px); } to { letter-spacing: -.08em; opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 920px) {
  .nav-links, .nav-button { display: none; }
  .menu-button { display: block; }
  .nav-links.is-open {
    display: grid; position: absolute; top: 74px; left: 20px; right: 20px; padding: 18px;
    border-radius: 22px; background: rgba(13, 16, 24, .96); border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.is-open a { padding: 12px 4px; }
  .hero-grid, .split, .commission-layout { grid-template-columns: 1fr; gap: 38px; }
  .hero { min-height: auto; }
  .hero-card { min-height: 360px; }
  .card-grid, .project-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 76px 0; }
  .nav-wrap { height: 68px; }
  h1 { font-size: clamp(3rem, 17vw, 5.6rem); }
  .hero-actions, .footer-inner { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .card-grid, .project-grid, .product-grid, .steps, .contact-grid, .form-row { grid-template-columns: 1fr; }
  .brand span:last-child { display: none; }
}



.card, .project-card, .product-card, .step {
  animation: cardBreathe 8s ease-in-out infinite alternate;
  animation-delay: var(--delay, 0ms);
}
@keyframes cardBreathe {
  from { box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; }
  to { box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 16px 50px rgba(0,0,0,.10); }
}

.hero-card-top {
  position: absolute;
  inset: 0;

  padding: 24px 0 0 0; 

  display: flex;
  align-items: flex-start; 
  justify-content: center;

  overflow: hidden;
}

.hero-character {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center bottom; 

  display: block;
}

/* ==========================================================
   PRODUCT DETAIL MODAL
   ========================================================== */

body.modal-open { overflow: hidden; }

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.product-modal.is-open { display: flex; animation: modalFade .25s ease both; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 8, 0.72);
  backdrop-filter: blur(10px) saturate(140%);
  cursor: pointer;
}
body.light-mode .modal-backdrop { background: rgba(15, 23, 42, 0.55); }

.modal-dialog {
  position: relative;
  width: min(100%, 760px);
  max-height: calc(100vh - 48px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(20, 24, 34, 0.98), rgba(12, 14, 20, 0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalPop .3s cubic-bezier(.22,1,.36,1) both;
}
body.light-mode .modal-dialog {
  background: linear-gradient(180deg, #ffffff, #f7f8fb);
  color: var(--text);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(8, 9, 13, 0.65);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.modal-close:hover { transform: scale(1.07); background: rgba(8,9,13,.9); border-color: var(--line-strong); }
body.light-mode .modal-close { background: rgba(255,255,255,.85); color: #111827; }

.modal-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-visual {
  position: relative;
  min-height: 160px;
  background: linear-gradient(135deg, #172033, #0e111a);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 22px 26px;
  overflow: hidden;
}
.modal-visual::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 90deg, transparent, rgba(122,167,255,.30), transparent, rgba(215,179,106,.18), transparent);
  animation: spin 14s linear infinite;
  opacity: .65;
}
.modal-visual::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.10), transparent 18rem);
}
.modal-visual .badge,
.modal-visual .modal-meta { position: relative; z-index: 1; }
.modal-meta {
  color: var(--accent-2);
  font-weight: 850;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.modal-content { padding: 28px 30px 30px; }
.modal-content h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  letter-spacing: -.02em;
  line-height: 1.15;
}
.modal-long {
  color: var(--text-soft);
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.65;
}

.modal-section { margin-bottom: 22px; }
.modal-section h4 {
  margin: 0 0 12px;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.modal-list li {
  position: relative;
  padding: 10px 14px 10px 36px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.5;
}
.modal-list li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(122,167,255,.18);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: .7rem;
  font-weight: 900;
}

.modal-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 26px 0 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.modal-info-grid > div { display: grid; gap: 4px; }
.modal-info-label {
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.modal-info-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}
.modal-price { color: var(--accent-2); font-size: 1.15rem; }

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.modal-actions .button { flex: 1 1 200px; }

@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to { opacity: 1; transform: none; }
}

/* Make whole product card feel clickable */
.product-card { cursor: pointer; }

@media (max-width: 620px) {
  .product-modal { padding: 12px; }
  .modal-content { padding: 22px 20px 24px; }
  .modal-info-grid { grid-template-columns: 1fr; }
  .modal-actions .button { flex: 1 1 100%; }
}


/* ==========================================================
   TEAM CARDS (About section)
   ========================================================== */

.team-head {
  margin-top: 70px;
  margin-bottom: 28px;
  text-align: left;
  max-width: 720px;
}
.team-head h3 {
  margin: 8px 0 0;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  letter-spacing: -.02em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.team-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
  transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
  align-items: start;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.team-photo {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #172033, #0e111a);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}
.team-photo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  background: radial-gradient(circle at 30% 30%, rgba(122,167,255,.20), transparent 60%);
  z-index: 1;
}
.team-photo.no-image .team-photo-fallback { z-index: 3; }

body.light-mode .team-photo {
  background: linear-gradient(135deg, #e9eef7, #dde4f0);
}

.team-card-body { min-width: 0; }
.team-role {
  margin: 0 0 6px;
  color: var(--accent-2);
  font-weight: 850;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.team-card-body h4 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: -.01em;
}
.team-bio {
  color: var(--text-soft);
  margin: 0 0 14px;
  font-size: .95rem;
  line-height: 1.55;
}
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.team-tags span {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(122,167,255,.08);
  color: var(--text-soft);
  font-size: .78rem;
  font-weight: 800;
}

@media (max-width: 920px) {
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .team-card { grid-template-columns: 1fr; text-align: left; }
  .team-photo { width: 100%; height: 220px; }
}


/* ==========================================================
   PRODUCT COVER IMAGE (on product card)
   ========================================================== */
.visual { position: relative; }
.visual.has-image::before,
.visual.has-image::after { display: none; }
.visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .5s ease;
}
.visual.has-image {
  background: linear-gradient(135deg, #172033, #0e111a);
}
.visual.has-image .badge {
  z-index: 2;
  background: rgba(8,9,13,.78);
}
.product-card:hover .visual-img { transform: scale(1.04); }

/* subtle gradient over image so badge stays readable */
.visual.has-image::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8,9,13,.05) 0%, rgba(8,9,13,0) 30%, rgba(8,9,13,.55) 100%);
  pointer-events: none;
}

/* ==========================================================
   MODAL: VIDEO + GALLERY
   ========================================================== */

.modal-media {
  width: 100%;
  background: #000;
  border-bottom: 1px solid var(--line);
}
.modal-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.modal-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.modal-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.modal-meta-inline {
  margin: 0 0 6px;
  color: var(--accent);
  font-weight: 850;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.modal-price-tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(215,179,106,.14);
  border: 1px solid rgba(215,179,106,.35);
  color: var(--accent-2);
  font-weight: 900;
  font-size: 1rem;
  white-space: nowrap;
}

/* Gallery thumbnails */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.gallery-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.gallery-thumb:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-thumb::after {
  content: "⤢";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8,9,13,.72);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  opacity: 0;
  transition: opacity .2s ease;
}
.gallery-thumb:hover::after { opacity: 1; }

/* ==========================================================
   LIGHTBOX
   ========================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 60px;
}
.lightbox.is-open { display: flex; animation: modalFade .2s ease both; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.92);
  cursor: pointer;
}

.lightbox-figure {
  position: relative;
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 1;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  display: block;
  animation: modalPop .25s cubic-bezier(.22,1,.36,1) both;
}
.lightbox-counter {
  color: rgba(255,255,255,.75);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .04em;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(20,20,26,.75);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  transform: scale(1.06);
  background: rgba(20,20,26,.95);
  border-color: rgba(255,255,255,.4);
}

.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.06); }

@media (max-width: 620px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-prev, .lightbox-next {
    top: auto; bottom: 16px; transform: none;
    width: 42px; height: 42px;
  }
  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }
  .lightbox-prev:hover, .lightbox-next:hover { transform: scale(1.06); }
}

/* ==========================================================
   DISCORD CTA (replaces the old commission form)
   ========================================================== */

.discord-cta {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(122,167,255,.08), rgba(255,255,255,.03)),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  padding: 56px 48px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
  transform: translateY(var(--scroll-shift, 0));
  transition: transform .5s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}
body.light-mode .discord-cta {
  background:
    linear-gradient(180deg, rgba(37,99,235,.06), rgba(255,255,255,.5)),
    rgba(255,255,255,.6);
}

.discord-cta-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(122,167,255,.28), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  animation: ctaGlowPulse 6s ease-in-out infinite alternate;
}
body.light-mode .discord-cta-glow {
  background: radial-gradient(circle, rgba(37,99,235,.22), transparent 60%);
}

.discord-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.discord-cta-inner h2 { margin-bottom: 16px; }
.discord-cta-text {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.discord-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}
.discord-cta-note {
  color: var(--muted);
  font-size: .9rem;
  margin: 0;
}
.discord-cta-note strong {
  color: var(--accent);
  font-weight: 800;
}

#discordCtaLink {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 14px 36px rgba(88,101,242,.35);
  gap: 10px;
}
#discordCtaLink:hover {
  background: #4752c4;
  box-shadow: 0 18px 42px rgba(88,101,242,.45);
}
.discord-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@keyframes ctaGlowPulse {
  from { opacity: .6; transform: translateX(-50%) scale(1); }
  to   { opacity: 1;  transform: translateX(-50%) scale(1.08); }
}

@media (max-width: 620px) {
  .discord-cta { padding: 40px 24px; }
  .discord-cta-actions { flex-direction: column; }
  .discord-cta-actions .button { width: 100%; }
  .discord-cta-glow { width: 360px; height: 360px; top: -120px; }
}

/* ==========================================================
   TOUCH / MOBILE MICRO-ANIMATIONS
   Visible feedback on tap (mobile / iPad have no :hover state)
   ========================================================== */

/* Press state — fires on pointerdown via JS */
.is-pressed {
  transform: scale(.97) !important;
  transition: transform .12s ease !important;
}
.button.is-pressed,
.nav-button.is-pressed,
.small-button.is-pressed {
  transform: translateY(1px) scale(.97) !important;
}

/* Ripple element injected by JS on tap */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.55) 0%, rgba(255,255,255,.18) 40%, transparent 70%);
  pointer-events: none;
  transform: scale(0);
  opacity: .9;
  animation: rippleOut .6s ease-out forwards;
  z-index: 5;
  mix-blend-mode: screen;
}
body.light-mode .ripple {
  background: radial-gradient(circle, rgba(37,99,235,.45) 0%, rgba(37,99,235,.15) 40%, transparent 70%);
  mix-blend-mode: multiply;
}
@keyframes rippleOut {
  to { transform: scale(1); opacity: 0; }
}

/* Subtle scroll-driven motion target */
.product-card,
.team-card,
.step {
  transform: translateY(var(--scroll-shift, 0));
}

/* ==========================================================
   ENHANCED ANIMATIONS FOR TOUCH-ONLY DEVICES
   (no hover available — give them constant gentle motion instead)
   ========================================================== */

@media (hover: none) and (pointer: coarse) {
  /* Cards drift gently up and down at staggered intervals */
  .product-card {
    animation: cardDriftA 7s ease-in-out infinite alternate;
  }
  .product-card:nth-child(2n) {
    animation: cardDriftB 8s ease-in-out infinite alternate;
    animation-delay: -2s;
  }
  .product-card:nth-child(3n) {
    animation: cardDriftA 9s ease-in-out infinite alternate;
    animation-delay: -4s;
  }

  .team-card {
    animation: cardDriftA 9s ease-in-out infinite alternate;
  }
  .team-card:nth-child(2) {
    animation: cardDriftB 10s ease-in-out infinite alternate;
    animation-delay: -3s;
  }

  .step {
    animation: stepBob 6s ease-in-out infinite alternate;
  }
  .step:nth-child(2n) { animation-delay: -1s; }
  .step:nth-child(3n) { animation-delay: -2s; }
  .step:nth-child(4n) { animation-delay: -3s; }
  .step:nth-child(5n) { animation-delay: -4s; }

  /* Hero card breathes */
  .hero-card {
    animation: heroBreathe 6s ease-in-out infinite alternate;
  }

  /* Section labels gently glow */
  .label {
    animation: labelGlow 3s ease-in-out infinite alternate;
  }

  /* Hero heading gets a slow shimmer */
  .hero-copy h1 {
    background: linear-gradient(
      90deg,
      var(--text) 0%,
      var(--text) 35%,
      var(--accent) 50%,
      var(--text) 65%,
      var(--text) 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroShimmer 5s ease-in-out infinite;
  }

  /* Buttons get a subtle pulse so they read as tappable */
  .button-primary,
  .nav-button,
  #discordCtaLink {
    animation: btnPulse 2.6s ease-in-out infinite;
  }

  /* Theme toggle wiggle to invite tap */
  .theme-toggle {
    animation: toggleWiggle 8s ease-in-out infinite;
  }
}

@keyframes cardDriftA {
  from { transform: translateY(0px); }
  to   { transform: translateY(-6px); }
}
@keyframes cardDriftB {
  from { transform: translateY(-3px); }
  to   { transform: translateY(3px); }
}
@keyframes stepBob {
  from { transform: translateY(0); }
  to   { transform: translateY(-4px); }
}
@keyframes heroBreathe {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-6px) scale(1.01); }
}
@keyframes labelGlow {
  from { opacity: .8; text-shadow: 0 0 0 transparent; }
  to   { opacity: 1; text-shadow: 0 0 18px rgba(122,167,255,.55); }
}
@keyframes heroShimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position: -100% 50%; }
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 14px 36px rgba(122,167,255,.18); }
  50%      { box-shadow: 0 18px 50px rgba(122,167,255,.42); }
}
@keyframes toggleWiggle {
  0%, 88%, 100% { transform: rotate(0deg); }
  92%           { transform: rotate(-8deg); }
  96%           { transform: rotate(8deg); }
}

/* Image hover effect → trigger via short tap-and-hold on mobile too */
@media (hover: none) and (pointer: coarse) {
  .visual-img {
    animation: slowKenBurns 14s ease-in-out infinite alternate;
  }
}
@keyframes slowKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}

/* Respect reduced-motion at all times */
@media (prefers-reduced-motion: reduce) {
  .ripple { display: none !important; }
  .is-pressed { transform: none !important; }
  .product-card,
  .team-card,
  .step,
  .hero-card,
  .label,
  .hero-copy h1,
  .button-primary,
  .nav-button,
  #discordCtaLink,
  .theme-toggle,
  .visual-img {
    animation: none !important;
  }
}
