:root {
  --bg: #f6f4ef;
  --paper: #fbfaf6;
  --paper-alt: #ffffff;
  --ink: #1c1b18;
  --ink-2: #3c3a36;
  --mute: #807c74;
  --faint: #bcb7ac;
  --border: rgba(28, 26, 22, 0.08);
  --border-strong: rgba(28, 26, 22, 0.14);
  --accent: #34322d;
  --attention: oklch(0.66 0.13 62);
  --attention-soft: oklch(0.92 0.05 70 / 0.78);
  --tint: rgba(196, 167, 120, 0.1);
  --live: #2dd4a4;
  --sans: "Geist", "Soehne", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1024px) {
  [data-project="bewerben"] .dashboard-shot img {
    object-position: 18% 0% !important;
  }

  [data-project="bewerben"] .dashboard-shot::before {
    right: 14px !important;
    left: auto !important;
  }
}

/* Mobile sticky project pills: compact two-row nav with 44px touch targets. */
@media (max-width: 1023px) {
  .mobile-nav,
  .mobile-nav.is-scrolled {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 80 !important;
    background:
      linear-gradient(180deg, rgba(251, 250, 246, 0.88), rgba(246, 244, 239, 0.72)),
      rgba(199, 216, 226, 0.72) !important;
    border-bottom: 1px solid rgba(28, 26, 22, 0.08) !important;
    box-shadow: 0 10px 26px rgba(21, 49, 80, 0.1) !important;
    backdrop-filter: saturate(145%) blur(16px);
  }

  .mobile-logo-bar {
    height: 46px !important;
    justify-content: flex-start !important;
    padding: 0 16px !important;
  }

  .mobile-main {
    padding-top: 98px !important;
  }

  .mobile-pill-strip {
    gap: 8px !important;
    padding: 0 12px 8px !important;
  }

  .mobile-project-pill {
    min-height: 44px !important;
    box-sizing: border-box;
    padding: 0 14px !important;
    background: rgba(251, 250, 246, 0.68) !important;
    border-color: rgba(28, 26, 22, 0.12) !important;
    color: var(--ink-2) !important;
  }

  .mobile-project-pill.active {
    background: rgba(251, 250, 246, 0.92) !important;
    border-color: rgba(28, 26, 22, 0.36) !important;
    color: var(--ink) !important;
    box-shadow:
      inset 0 0 0 1px rgba(28, 26, 22, 0.1),
      0 8px 18px rgba(21, 49, 80, 0.1) !important;
  }

  .mobile-project-pill.active span {
    color: inherit !important;
    opacity: 0.62 !important;
  }

  .mobile-project-section {
    scroll-margin-top: 108px !important;
  }
}

/* Final cleanup: remove meta noise, use live accent, no dashboard overlay, safer phone frames. */
.mid-meta,
.live-chip {
  display: none !important;
}

.project-copy h2::after,
.ide-mid h3::after,
.tab.active::before {
  background: var(--live) !important;
}

@media (min-width: 1024px) {
  [data-project="bewerben"] .dashboard-shot::after {
    content: none !important;
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .mobile-hero {
    padding-top: 8vh !important;
  }

  .mobile-frame {
    flex-basis: min(82vw, 300px) !important;
    width: min(82vw, 300px) !important;
    aspect-ratio: 9 / 18.8 !important;
    max-height: min(72vh, 620px) !important;
  }

  .mobile-frame-content,
  .mobile-phone-screen {
    min-height: 0 !important;
  }

  .mobile-phone-screen {
    padding: 8px 10px !important;
  }

  .mobile-phone-screen img {
    object-fit: contain !important;
  }
}

@media (max-width: 390px) {
  .mobile-frame {
    flex-basis: min(80vw, 286px) !important;
    width: min(80vw, 286px) !important;
    max-height: 68vh !important;
  }

  .mobile-phone-screen {
    padding: 6px 8px !important;
  }
}

@media (max-width: 1023px) {
  .mobile-phone-screen {
    position: relative !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  .mobile-phone-screen img {
    position: absolute !important;
    inset: 8px 10px !important;
    width: calc(100% - 20px) !important;
    height: calc(100% - 16px) !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* Final production correction: larger job dashboard, clean mobile screens, no preview pills. */
@media (min-width: 1024px) {
  [data-project="bewerben"] .preview-pane {
    padding: 14px !important;
  }

  [data-project="bewerben"] .jobs-preview-stack {
    display: block !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  [data-project="bewerben"] .dashboard-shot {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    aspect-ratio: auto !important;
    border-radius: 17px !important;
    transform: none !important;
  }

  [data-project="bewerben"] .dashboard-shot img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 50% 0% !important;
    transform: none !important;
  }

  [data-project="bewerben"] .dashboard-shot::before {
    content: "Dashboard Focus";
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 5px 10px;
    background: rgba(251, 250, 246, 0.9);
    border: 1px solid rgba(28, 26, 22, 0.08);
    border-radius: 99px;
    color: var(--ink-2);
    font-family: var(--mono);
    font-size: 10px;
    backdrop-filter: blur(8px);
  }

  [data-project="bewerben"] .job-detail-shot {
    display: none !important;
  }

  .pwa-screen figcaption {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .mobile-frame-badge {
    display: none !important;
  }

  .mobile-demo-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: oklch(0.96 0.004 230);
  }

  .mobile-phone-screen {
    display: grid;
    place-items: center;
    padding: 12px 18px;
    background:
      radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.92), transparent 34%),
      linear-gradient(180deg, rgba(236, 240, 242, 0.82), rgba(246, 244, 239, 0.96));
  }

  .mobile-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* OpenClaw Agent Healthcare: real screenshots, anonymized where needed. */
@media (min-width: 1024px) {
  [data-project="healthcare"] .preview-pane {
    background:
      radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.76), transparent 30%),
      linear-gradient(180deg, rgba(236, 240, 242, 0.82), rgba(226, 229, 230, 0.68)),
      var(--bg);
  }

  .healthcare-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    height: 100%;
    min-height: 540px;
    align-items: center;
    justify-items: center;
  }

  .healthcare-phone-screen {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--paper-alt);
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 14px;
    box-shadow:
      0 24px 52px rgba(23, 45, 69, 0.16),
      0 7px 18px rgba(23, 45, 69, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .healthcare-phone-screen {
    width: min(100%, 244px);
    aspect-ratio: 9 / 19.4;
    border-radius: 24px;
  }

  .healthcare-research-phone {
    justify-self: end;
  }

  .healthcare-dossier-phone {
    justify-self: start;
  }

  .healthcare-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    background: var(--paper-alt);
  }

}

@media (min-width: 1024px) and (max-width: 1180px) {
  .healthcare-preview {
    gap: 14px;
  }

  .healthcare-phone-screen {
    width: min(100%, 210px);
  }
}

@media (max-width: 1023px) {
  .mobile-healthcare-shot {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    align-items: center;
    justify-content: center;
    padding: 34px 12px 12px;
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.74), transparent 34%),
      linear-gradient(180deg, rgba(236, 240, 242, 0.82), rgba(246, 244, 239, 0.96));
  }

  .mobile-healthcare-shot img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(23, 45, 69, 0.14);
  }

  .mobile-healthcare-phone {
    padding: 20px 28px;
  }

  .mobile-healthcare-phone img {
    width: auto;
    height: 100%;
    aspect-ratio: 9 / 19.4;
    object-fit: cover;
    object-position: top center;
    border-radius: 24px;
  }
}

/* Impeccable mobile/preview simplification pass. */
@media (min-width: 1024px) {
  [data-project="bewerben"] .preview-stack {
    display: block;
    height: 100%;
    min-height: 0;
  }

  [data-project="bewerben"] .dashboard-shot {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    aspect-ratio: auto;
    transform: none;
  }

  [data-project="bewerben"] .dashboard-shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top left;
    background: oklch(0.96 0.004 230);
    transform: none;
  }

  [data-project="bewerben"] .job-detail-shot {
    display: none;
  }

  [data-project="sparfuchs"] .sparfuchs-product-wall {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 24px);
    align-items: start;
    justify-items: center;
    height: 100%;
    min-height: 0;
    padding: clamp(34px, 5vh, 64px) 24px 24px;
    overflow: hidden;
  }

  [data-project="sparfuchs"] .retailer-dashboard-card {
    display: none;
  }

  [data-project="sparfuchs"] .pwa-screen {
    width: 100%;
    max-width: 232px;
    height: auto;
    aspect-ratio: 9 / 18.8;
    margin: 0;
    border-radius: 24px;
    transform: none;
  }

  [data-project="sparfuchs"] .pwa-screen-actions,
  [data-project="sparfuchs"] .pwa-screen-saved,
  [data-project="sparfuchs"] .pwa-screen-add {
    grid-row: 1;
  }

  [data-project="sparfuchs"] .pwa-screen-actions {
    grid-column: 1;
  }

  [data-project="sparfuchs"] .pwa-screen-saved {
    grid-column: 2;
  }

  [data-project="sparfuchs"] .pwa-screen-add {
    grid-column: 3;
  }

  [data-project="sparfuchs"] .pwa-screen > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    background: oklch(0.995 0.002 230);
  }
}

@media (max-width: 1023px) {
  .mobile-nav,
  .mobile-nav.is-scrolled {
    background:
      linear-gradient(180deg, rgba(251, 250, 246, 0.84), rgba(246, 244, 239, 0.68)),
      rgba(199, 216, 226, 0.64);
    border-bottom: 1px solid rgba(28, 26, 22, 0.08);
    box-shadow: 0 12px 34px rgba(21, 49, 80, 0.12);
  }

  .mobile-project-pill {
    background: rgba(251, 250, 246, 0.62);
    border-color: rgba(28, 26, 22, 0.11);
    color: var(--ink-2);
  }

  .mobile-project-pill.active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
  }

  .mobile-project-pill.active span {
    color: inherit;
    opacity: 0.72;
  }

  .mobile-title-block {
    margin-bottom: 24px;
  }

  .mobile-project-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .mobile-project-kicker i {
    width: 6px;
    height: 6px;
    background: var(--live);
    border-radius: 99px;
    box-shadow: 0 0 0 3px rgba(45, 212, 164, 0.18);
  }

  .mobile-block,
  .mobile-preview-block,
  .mobile-status-strip {
    background:
      linear-gradient(180deg, rgba(251, 250, 246, 0.97), rgba(246, 244, 239, 0.94)),
      var(--paper);
  }

  .mobile-log-label {
    display: inline-flex;
    width: fit-content;
    padding: 3px 9px;
    border: 1px solid var(--border);
    border-radius: 99px;
  }

  .mobile-log-label.problem {
    background: oklch(0.91 0.045 235 / 0.78);
    border-color: oklch(0.7 0.07 235 / 0.34);
    color: oklch(0.34 0.06 238);
  }

  .mobile-log-label.value {
    background: var(--attention-soft);
    border-color: oklch(0.74 0.1 66 / 0.38);
    color: oklch(0.36 0.08 54);
  }

  .mobile-log-label.features {
    background: oklch(0.91 0.055 150 / 0.76);
    border-color: oklch(0.68 0.08 150 / 0.34);
    color: oklch(0.31 0.07 152);
  }

  .mobile-log-label.tech {
    background: oklch(0.9 0.018 285 / 0.76);
    border-color: oklch(0.62 0.04 285 / 0.3);
    color: oklch(0.32 0.04 285);
  }

  .mobile-browser-shot-dashboard img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    background: oklch(0.96 0.004 230);
  }
}

/* Impeccable correction: keep the product dashboards as the hero artifacts. */
@media (min-width: 1024px) {
  [data-project="bewerben"] .preview-stack {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 14px;
    height: 100%;
    min-height: 0;
  }

  [data-project="bewerben"] .dashboard-shot {
    position: static;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    aspect-ratio: auto;
    transform: none;
  }

  [data-project="bewerben"] .dashboard-shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top left;
    background: oklch(0.96 0.004 230);
    transform: none;
  }

  [data-project="bewerben"] .job-detail-shot {
    position: static;
    width: 100%;
    max-height: 178px;
    margin: 0;
    padding: 12px;
    overflow: hidden;
    transform: none;
  }

  [data-project="bewerben"] .job-hero {
    padding: 10px 12px;
  }

  [data-project="bewerben"] .job-hero h4 {
    font-size: 20px;
  }

  [data-project="bewerben"] .job-hero p,
  [data-project="bewerben"] .job-hero span,
  [data-project="bewerben"] .job-panels span,
  [data-project="bewerben"] .job-panels p,
  [data-project="bewerben"] .job-panels dd {
    font-size: 11.5px;
  }

  [data-project="bewerben"] .job-actions,
  [data-project="bewerben"] .job-panels {
    display: none;
  }

  [data-project="sparfuchs"] .sparfuchs-product-wall {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(130px, 0.52fr) minmax(0, 1fr);
    gap: 14px;
    height: 100%;
    min-height: 0;
    padding: 18px;
    overflow: hidden;
  }

  [data-project="sparfuchs"] .retailer-dashboard-card {
    display: block;
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 0;
    padding: 14px;
  }

  [data-project="sparfuchs"] .retailer-dashboard-card p {
    margin-bottom: 9px;
  }

  [data-project="sparfuchs"] .retailer-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  [data-project="sparfuchs"] .retailer-metrics span {
    padding: 8px;
  }

  [data-project="sparfuchs"] .retailer-metrics b {
    font-size: 17px;
  }

  [data-project="sparfuchs"] .retailer-table {
    margin-top: 8px;
    padding: 9px;
  }

  [data-project="sparfuchs"] .retailer-table strong {
    font-size: 14px;
  }

  [data-project="sparfuchs"] .retailer-table div {
    padding: 5px 0;
    font-size: 9.5px;
  }

  [data-project="sparfuchs"] .pwa-screen {
    width: 100%;
    max-width: 184px;
    height: auto;
    aspect-ratio: 9 / 18.8;
    justify-self: center;
    align-self: start;
    margin: 0;
    border-radius: 22px;
    transform: none;
  }

  [data-project="sparfuchs"] .pwa-screen-actions,
  [data-project="sparfuchs"] .pwa-screen-saved,
  [data-project="sparfuchs"] .pwa-screen-add {
    grid-row: 2;
  }

  [data-project="sparfuchs"] .pwa-screen-actions {
    grid-column: 1;
  }

  [data-project="sparfuchs"] .pwa-screen-saved {
    grid-column: 2;
  }

  [data-project="sparfuchs"] .pwa-screen-add {
    grid-column: 3;
  }

  [data-project="sparfuchs"] .pwa-screen > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    background: oklch(0.995 0.002 230);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(ellipse at 50% 74%, rgba(255, 232, 188, 0.42) 0%, rgba(255, 210, 160, 0.18) 32%, transparent 70%),
    linear-gradient(180deg, rgba(235, 240, 245, 0) 58%, rgba(235, 240, 245, 0.26) 72%, rgba(235, 240, 245, 0) 86%),
    radial-gradient(ellipse at 50% 60%, transparent 50%, rgba(20, 40, 70, 0.18) 100%),
    linear-gradient(180deg, #1f4e7c 0%, #2a608e 14%, #3c77a6 28%, #538db8 42%, #6fa4c6 55%, #8ebad2 68%, #a8c8d8 78%, #c0d0d8 87%, #cdd5d8 94%, #d2d7d8 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.24) 0.7px, transparent 0.7px),
    repeating-linear-gradient(135deg, transparent 0 15px, rgba(255, 255, 255, 0.028) 15px 16px);
  background-size: 4px 4px, auto;
  mix-blend-mode: overlay;
  opacity: 0.48;
  content: "";
}

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

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

.site-top {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 48px);
  max-width: 1920px;
  height: 58px;
  margin: 0 auto 8px;
  padding: 0 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(246, 244, 239, 0.24)),
    rgba(210, 225, 232, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 46px rgba(21, 49, 80, 0.18);
  backdrop-filter: saturate(150%) blur(18px);
}

.brand,
.site-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0;
}

.brand strong,
.site-links a {
  display: block;
}

.brand strong {
  color: rgba(28, 27, 24, 0.86);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.46);
}

.site-links {
  gap: 3px;
}

.site-links a {
  padding: 7px 10px;
  border-radius: 6px;
  color: rgba(28, 27, 24, 0.72);
  font-family: var(--mono);
  font-size: 12.5px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-links a:hover,
.site-links a.active {
  background: rgba(28, 26, 22, 0.05);
  color: var(--ink);
}

.site-links a:active {
  transform: translateY(1px);
}

main {
  width: 100%;
  margin: 0 auto;
}

.hero {
  width: calc(100% - 48px);
  max-width: 1920px;
  min-height: clamp(250px, 29dvh, 320px);
  margin: 0 auto;
  padding: clamp(28px, 4vh, 44px) 32px clamp(44px, 6vh, 72px);
}

.live-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--mono);
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.live-dot,
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--live);
  box-shadow: 0 0 0 4px rgba(45, 212, 164, 0.2);
}

.hero h1 {
  max-width: 18ch;
  margin: 0;
  color: oklch(0.98 0.006 230);
  font-size: clamp(52px, 5.7vw, 86px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.04;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
  text-wrap: balance;
}

.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.hero p {
  max-width: 58ch;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.18rem, 19px);
  line-height: 1.48;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  text-wrap: pretty;
}

.project-section {
  position: relative;
  padding: clamp(16px, 2.8vh, 30px) 0 clamp(62px, 8vh, 88px);
  background: transparent;
  scroll-margin-top: 72px;
}

.project-copy {
  width: calc(100% - 48px);
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 32px 30px;
  color: oklch(0.98 0.006 230);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
}

.section-kicker {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-copy h2 {
  position: relative;
  max-width: 20ch;
  margin: 0;
  font-size: clamp(38px, 3.6vw, 56px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  text-wrap: balance;
}

.project-copy h2::after {
  display: block;
  width: 74px;
  height: 3px;
  margin-top: 13px;
  background: var(--attention);
  border-radius: 99px;
  box-shadow: 0 0 26px oklch(0.76 0.14 68 / 0.42);
  content: "";
}

.project-copy p {
  max-width: 640px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
}

.paper-ide {
  width: calc(100% - 48px);
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(246, 244, 239, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 0 90px 12px rgba(255, 228, 178, 0.22),
    0 36px 90px -28px rgba(13, 31, 56, 0.42),
    0 8px 24px rgba(13, 31, 56, 0.12);
}

.ide-top,
.preview-top,
.ide-status {
  background: var(--paper);
  border-color: var(--border);
}

.ide-top {
  display: grid;
  grid-template-columns: auto auto minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: center;
  height: 38px;
  margin: 8px 8px 0;
  padding: 0 12px 0 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(246, 244, 239, 0.28)),
    rgba(228, 236, 240, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 24px rgba(21, 49, 80, 0.08);
  backdrop-filter: saturate(145%) blur(14px);
}

.window-lights {
  display: flex;
  gap: 6px;
}

.window-lights span {
  width: 11px;
  height: 11px;
  border-radius: 99px;
}

.window-lights span:nth-child(1) {
  background: #f47e6b;
}

.window-lights span:nth-child(2) {
  background: #f5be4a;
}

.window-lights span:nth-child(3) {
  background: #3fc26b;
}

.window-lights.mini span {
  width: 9px;
  height: 9px;
}

.ide-crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11.5px;
}

.ide-crumb b {
  color: var(--ink-2);
  font-weight: 400;
}

.ide-omni {
  justify-self: center;
  display: flex;
  align-items: center;
  width: min(520px, 100%);
  height: 24px;
  gap: 8px;
  padding: 0 8px;
  overflow: hidden;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 11.5px;
  white-space: nowrap;
}

.ide-omni b,
.ide-omni kbd {
  color: var(--ink-2);
  font-weight: 400;
}

.ide-omni i {
  color: var(--faint);
  font-style: normal;
}

.ide-omni kbd {
  margin-left: auto;
  padding: 1px 5px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 10px;
}

.ide-tools {
  display: flex;
  gap: 5px;
}

.ide-tools span {
  width: 4px;
  height: 4px;
  border-radius: 99px;
  background: var(--mute);
}

.ide-body {
  display: grid;
  grid-template-columns: 232px minmax(340px, 520px) minmax(640px, 1fr);
  min-height: min(700px, calc(100dvh - 150px));
  margin-top: 8px;
  border-top: 1px solid var(--border);
}

.ide-side {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  padding: 14px 8px 10px;
  background: var(--paper);
  border-right: 1px solid var(--border);
}

.side-title {
  padding: 4px 8px 8px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.side-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--ink-2);
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.side-row:hover {
  background: rgba(28, 26, 22, 0.035);
}

.side-row:active {
  transform: translateY(1px);
}

.side-row.active {
  background: var(--attention-soft);
  border-color: oklch(0.72 0.1 66 / 0.42);
  color: var(--ink);
}

.side-row.active strong {
  font-weight: 700;
}

.side-row.muted {
  opacity: 0.52;
  filter: saturate(0.72);
}

.side-row strong,
.side-row small {
  display: block;
  overflow: hidden;
  font-family: var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-row strong {
  font-size: 12.5px;
  font-weight: 400;
}

.side-row small {
  margin-top: 1px;
  color: var(--mute);
  font-size: 10.5px;
}

.side-icon {
  width: 13px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 3px;
  opacity: 0.9;
}

.ide-mid {
  min-width: 0;
  background: var(--paper-alt);
  border-right: 1px solid var(--border);
}

.tabs {
  display: flex;
  height: 34px;
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 244, 239, 0.84)),
    var(--paper);
  border-bottom: 1px solid var(--border);
}

.tab {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-top: 2px solid transparent;
  border-right: 1px solid var(--border);
  color: var(--mute);
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

.tab.active {
  margin-top: -1px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 250, 246, 0.96));
  border-top-color: var(--attention);
  color: var(--ink);
}

.mid-body {
  padding: 24px 26px 26px;
}

.mid-crumb {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
}

.mid-crumb b {
  color: var(--ink-2);
  font-weight: 400;
}

.mid-crumb i {
  color: var(--accent);
  font-style: normal;
}

.ide-mid h3 {
  position: relative;
  margin: 7px 0 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
}

.ide-mid h3::after {
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 9px;
  background: var(--attention);
  border-radius: 99px;
  content: "";
}

.mid-meta {
  margin: 8px 0 12px;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 12.5px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 6px;
}

.metric-strip div {
  min-height: 96px;
  padding: 14px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(251, 250, 246, 0.94)),
    rgba(52, 50, 45, 0.035);
  border: 1px solid var(--border);
  border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.metric-strip strong,
.metric-strip span {
  display: block;
}

.metric-strip strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: clamp(24px, 2.125rem, 34px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.metric-strip span {
  max-width: 28ch;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.42;
  text-wrap: pretty;
}

.log-block {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 10px;
  border-bottom: 1px solid var(--border);
}

.log-block .num {
  padding-top: 3px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  text-align: right;
}

.log-block b {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 7px;
  background: rgba(52, 50, 45, 0.055);
  border: 1px solid rgba(52, 50, 45, 0.06);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
}

.log-label.problem {
  background: oklch(0.91 0.045 235 / 0.78);
  border-color: oklch(0.7 0.07 235 / 0.34);
  color: oklch(0.34 0.06 238);
}

.log-label.value {
  background: var(--attention-soft);
  border-color: oklch(0.74 0.1 66 / 0.38);
  color: oklch(0.36 0.08 54);
}

.log-label.features {
  background: oklch(0.91 0.055 150 / 0.76);
  border-color: oklch(0.68 0.08 150 / 0.34);
  color: oklch(0.31 0.07 152);
}

.log-label.tech {
  background: oklch(0.9 0.018 285 / 0.76);
  border-color: oklch(0.62 0.04 285 / 0.3);
  color: oklch(0.32 0.04 285);
}

.log-block p {
  max-width: 62ch;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.62;
  text-wrap: pretty;
}

.ide-right {
  min-width: 0;
  background: var(--paper);
}

.preview-top {
  display: flex;
  height: 34px;
  gap: 10px;
  align-items: center;
  padding: 0 10px;
  border-bottom: 1px solid var(--border);
}

.url-bar {
  display: flex;
  flex: 1;
  align-items: center;
  height: 22px;
  gap: 7px;
  padding: 0 10px;
  overflow: hidden;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}

.url-bar span {
  color: var(--faint);
}

.url-bar i {
  width: 6px;
  height: 6px;
  margin-left: auto;
  background: var(--live);
  border-radius: 99px;
}

.preview-pane {
  height: calc(100% - 34px);
  min-height: min(666px, calc(100dvh - 184px));
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.76), transparent 30%),
    linear-gradient(180deg, rgba(236, 240, 242, 0.82), rgba(226, 229, 230, 0.68)),
    var(--bg);
}

.browser-shot {
  height: 100%;
  overflow: hidden;
  background: var(--paper-alt);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 12px;
  box-shadow:
    0 28px 58px rgba(23, 45, 69, 0.18),
    0 8px 22px rgba(23, 45, 69, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.browser-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.preview-stack {
  position: relative;
  height: 100%;
}

.jobs-preview-stack {
  display: block;
  min-height: 620px;
}

.dashboard-shot {
  position: relative;
  z-index: 3;
  width: calc(100% + 24px);
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 0;
  margin: 0 -10px 0 auto;
  transform: rotate(0.25deg);
}

.dashboard-shot img {
  width: 112%;
  max-width: none;
  height: 100%;
  object-fit: fill;
  object-position: 50% 0%;
  background: oklch(0.96 0.004 230);
  transform: translateX(-6%);
}

.job-detail-shot {
  position: relative;
  z-index: 4;
  width: min(48%, 500px);
  margin: -324px 18px 0 auto;
  padding: 14px;
  overflow: hidden;
  background: oklch(0.985 0.004 230);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  box-shadow:
    0 34px 70px rgba(23, 45, 69, 0.2),
    0 10px 28px rgba(23, 45, 69, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  font-family: var(--sans);
  opacity: 0.98;
  transform: rotate(-0.8deg);
}

.job-hero {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 13px 15px;
  background: oklch(0.995 0.002 230);
  border: 1px solid oklch(0.9 0.008 230);
  border-radius: 14px;
}

.job-hero span,
.job-panels span,
.job-panels dt {
  color: oklch(0.47 0.03 250);
  font-weight: 500;
}

.job-hero span,
.job-panels span {
  display: block;
  font-size: 13px;
}

.job-hero h4 {
  margin: 8px 0 3px;
  color: oklch(0.17 0.012 250);
  font-size: clamp(19px, 1.55rem, 25px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}

.job-hero p {
  margin: 0;
  color: oklch(0.48 0.035 250);
  font-size: 13px;
}

.job-hero strong {
  display: block;
  margin-top: 8px;
  color: oklch(0.43 0.035 250);
  font-size: 12.5px;
  font-weight: 600;
}

.job-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
}

.job-actions button,
.job-panels button {
  height: 32px;
  padding: 0 11px;
  background: oklch(0.985 0.004 230);
  border: 1px solid oklch(0.86 0.01 230);
  border-radius: 7px;
  color: oklch(0.18 0.012 250);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
}

.job-actions button:last-child {
  background: oklch(0.91 0.015 72);
  border-color: oklch(0.82 0.018 72);
}

.job-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.job-panels section {
  min-height: 132px;
  padding: 13px 15px;
  background: oklch(0.992 0.002 230);
  border: 1px solid oklch(0.9 0.008 230);
  border-radius: 14px;
}

.job-panels h5 {
  margin: 7px 0 11px;
  color: oklch(0.17 0.012 250);
  font-size: 16px;
  line-height: 1.1;
}

.job-panels p {
  margin: 0 0 12px;
  color: oklch(0.47 0.03 250);
  font-size: 13px;
}

.job-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  margin-bottom: 8px;
  padding: 0 14px;
  background: oklch(0.995 0.002 230);
  border: 2px solid oklch(0.2 0.012 250);
  border-radius: 10px;
  color: oklch(0.18 0.012 250);
  font-size: 14px;
}

.job-select i {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.job-panels button {
  width: 100%;
  background: oklch(0.99 0.003 230);
}

.job-panels dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin: 0;
}

.job-panels dt,
.job-panels dd {
  margin: 0;
}

.job-panels dd {
  margin-top: 5px;
  color: oklch(0.18 0.012 250);
  font-size: 13.5px;
}

.ide-status {
  display: flex;
  height: 24px;
  gap: 14px;
  align-items: center;
  padding: 0 14px;
  border-top: 1px solid var(--border);
  color: var(--mute);
  font-family: var(--mono);
  font-size: 10.5px;
}

.ide-status span:nth-child(2) {
  color: #16805f;
}

.status-right {
  margin-left: auto;
}

.phone-stage,
.juri-preview {
  height: 100%;
  min-height: 540px;
  background: var(--paper-alt);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 12px;
  box-shadow:
    0 28px 58px rgba(23, 45, 69, 0.18),
    0 8px 22px rgba(23, 45, 69, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.phone-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 16px;
  align-items: center;
  padding: 32px;
}

.sparfuchs-product-wall {
  display: grid;
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 460px);
  gap: 18px;
  align-content: start;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 20px;
  box-shadow: none;
}

.retailer-dashboard-card {
  display: none;
  position: relative;
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 190px;
  padding: 16px;
  overflow: hidden;
  background: rgba(252, 252, 250, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(23, 45, 69, 0.16);
}

.retailer-dashboard-card p {
  max-width: 58ch;
  margin: 0 0 10px;
  color: oklch(0.38 0.03 170);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.45;
}

.retailer-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.retailer-metrics span,
.retailer-table {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(20, 60, 45, 0.08);
  border-radius: 12px;
}

.retailer-metrics span {
  display: block;
  padding: 10px;
}

.retailer-metrics b,
.retailer-metrics i {
  display: block;
}

.retailer-metrics b {
  color: oklch(0.23 0.02 160);
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
}

.retailer-metrics i {
  margin-top: 4px;
  color: oklch(0.45 0.025 160);
  font-size: 10px;
  font-style: normal;
}

.retailer-table {
  margin-top: 9px;
  padding: 11px;
}

.retailer-table strong {
  display: block;
  margin-bottom: 8px;
  color: oklch(0.22 0.02 160);
  font-size: 16px;
}

.retailer-table div {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.9fr 0.8fr;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid rgba(20, 60, 45, 0.08);
  color: oklch(0.26 0.02 160);
  font-family: var(--mono);
  font-size: 10.5px;
}

.retailer-table i {
  color: oklch(0.47 0.025 160);
  font-style: normal;
}

.pwa-screen {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 26px;
  box-shadow:
    0 32px 70px rgba(12, 34, 52, 0.2),
    0 10px 28px rgba(12, 34, 52, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.pwa-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.pwa-screen figcaption {
  position: absolute;
  top: 12px;
  left: 50%;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 999px;
  color: oklch(0.26 0.02 160);
  font-family: var(--mono);
  font-size: 9px;
  transform: translateX(-50%);
}

.pwa-screen-actions {
  z-index: 4;
  grid-column: 1;
  grid-row: 1;
  transform: none;
}

.pwa-screen-saved {
  z-index: 3;
  grid-column: 2;
  grid-row: 1;
  transform: none;
}

.pwa-screen-add {
  z-index: 2;
  grid-column: 3;
  grid-row: 1;
  transform: none;
}

.extra-promos {
  display: none;
}

.extra-promos div {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 7px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(12, 34, 52, 0.08);
}

.extra-promos img,
.add-packshots img {
  display: block;
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 10px;
}

.extra-promos img {
  width: 42px;
  height: 42px;
  object-fit: cover;
}

.extra-promos b,
.extra-promos span {
  font-size: 10.5px;
}

.extra-promos b {
  overflow: hidden;
  color: oklch(0.2 0.015 160);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.extra-promos span {
  padding: 3px 6px;
  background: oklch(0.9 0.07 150);
  border-radius: 999px;
  color: oklch(0.3 0.075 150);
  font-family: var(--mono);
}

.add-packshots {
  display: none;
}

.add-packshots img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(12, 34, 52, 0.1);
}

.add-packshots img + img {
  margin-left: -12px;
}

[data-project="sparfuchs"] .preview-pane,
[data-project="sparfuchs"] .phone-stage {
  background:
    radial-gradient(ellipse at 50% 74%, rgba(255, 232, 188, 0.48) 0%, rgba(255, 210, 160, 0.18) 34%, transparent 70%),
    linear-gradient(180deg, rgba(235, 240, 245, 0) 56%, rgba(235, 240, 245, 0.26) 72%, rgba(235, 240, 245, 0) 90%),
    radial-gradient(ellipse at 50% 62%, transparent 48%, rgba(20, 40, 70, 0.2) 100%),
    linear-gradient(180deg, #1f4e7c 0%, #2a608e 14%, #3c77a6 28%, #538db8 42%, #6fa4c6 55%, #8ebad2 68%, #a8c8d8 78%, #c0d0d8 87%, #cdd5d8 94%, #d2d7d8 100%);
}

[data-project="sparfuchs"] .preview-pane {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.76), transparent 30%),
    linear-gradient(180deg, rgba(236, 240, 242, 0.82), rgba(226, 229, 230, 0.68)),
    var(--bg);
}

[data-project="sparfuchs"] .phone-stage {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.24);
}

[data-project="sparfuchs"] .phone-stage::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.22) 0.7px, transparent 0.7px),
    repeating-linear-gradient(135deg, transparent 0 15px, rgba(255, 255, 255, 0.026) 15px 16px);
  background-size: 4px 4px, auto;
  mix-blend-mode: overlay;
  opacity: 0.48;
  content: "";
}

[data-project="sparfuchs"] .phone-card {
  position: relative;
  z-index: 1;
  border-color: rgba(15, 18, 24, 0.9);
  box-shadow:
    0 0 64px rgba(255, 228, 178, 0.24),
    0 28px 54px rgba(13, 31, 56, 0.24);
}

.phone-card {
  min-height: 350px;
  padding: 18px;
  background: #fff;
  border: 7px solid var(--ink);
  border-radius: 30px;
  box-shadow: 0 28px 54px rgba(28, 26, 22, 0.13);
}

.phone-card:nth-child(1) {
  transform: translateY(22px) rotate(-2deg);
}

.phone-card:nth-child(2) {
  transform: rotate(1.2deg);
}

.phone-card:nth-child(3) {
  transform: translateY(-18px) rotate(-1deg);
}

.phone-card small,
.phone-card b,
.phone-card strong {
  display: block;
}

.phone-card small {
  margin-bottom: 24px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
}

.phone-card b {
  margin-bottom: 22px;
  color: var(--mute);
  font-size: 12px;
  text-align: center;
}

.phone-card strong {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.2;
}

.phone-card p,
.phone-card div {
  margin: 10px 0 0;
  padding: 11px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}

.phone-card p span {
  float: right;
  color: #16805f;
}

.phone-card.dark {
  background: #0f1218;
  color: var(--paper-alt);
}

.phone-card.dark b {
  color: rgba(255, 255, 255, 0.72);
}

.phone-card.dark div {
  width: max-content;
  margin: 0 auto 62px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-radius: 99px;
}

.phone-card.dark strong {
  text-align: center;
}

.juri-preview {
  display: grid;
  grid-template-columns: 128px 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  background: var(--border);
}

.juri-preview > * {
  background: var(--paper-alt);
}

.juri-preview aside {
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
}

.juri-preview aside b {
  margin-bottom: 18px;
  font-size: 16px;
}

.juri-preview aside span {
  padding: 8px 10px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 11px;
}

.chat-card,
.chart-card {
  padding: 24px;
}

.chat-card small,
.chart-card small {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chat-card p {
  max-width: 44ch;
  margin: 16px 0 0;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.chat-card .answer {
  width: max-content;
  max-width: 100%;
  background: rgba(52, 50, 45, 0.06);
  color: var(--ink);
}

.line-chart {
  height: 140px;
  margin: 18px 0 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background:
    linear-gradient(165deg, transparent 48%, #c4a778 49%, #c4a778 51%, transparent 52%),
    linear-gradient(12deg, transparent 58%, #34322d 59%, #34322d 61%, transparent 62%),
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
}

.chart-card strong {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 500;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 40px 40px 70px;
  border-top: 1px solid var(--border);
  color: var(--mute);
  font-family: var(--mono);
  font-size: 11px;
}

@media (max-width: 1180px) {
  .paper-ide {
    width: calc(100% - 32px);
    max-width: none;
  }

  .ide-body {
    grid-template-columns: 216px minmax(320px, 440px) minmax(420px, 1fr);
  }

  .phone-stage {
    padding: 22px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .paper-ide {
    width: 1392px;
    max-width: none;
    zoom: var(--desktop-ide-scale, 1);
  }

  .ide-top {
    grid-template-columns: auto auto minmax(220px, 1fr) auto;
    gap: 12px;
    height: 38px;
    margin: 8px 8px 0;
    padding: 0 12px 0 14px;
  }

  .ide-body {
    grid-template-columns: 232px minmax(340px, 520px) minmax(640px, 1fr);
    min-height: min(700px, calc(100dvh - 150px));
    margin-top: 8px;
  }

  .ide-side {
    padding: 14px 8px 10px;
  }

  .side-title {
    padding: 4px 8px 8px;
    font-size: 10.5px;
  }

  .side-row {
    gap: 8px;
    padding: 8px;
  }

  .side-row strong {
    font-size: 12.5px;
  }

  .side-row small {
    font-size: 10.5px;
  }

  .tabs {
    height: 34px;
  }

  .tab {
    padding: 0 14px;
    font-size: 12px;
  }

  .mid-body {
    padding: 24px 26px 26px;
  }

  .mid-crumb {
    font-size: 11px;
  }

  .ide-mid h3 {
    font-size: 28px;
  }

  .mid-meta {
    font-size: 12.5px;
    line-height: 1.55;
  }

  .metric-strip {
    gap: 10px;
    margin: 16px 0 6px;
  }

  .metric-strip div {
    min-height: 96px;
    padding: 14px 16px;
  }

  .metric-strip strong {
    font-size: clamp(24px, 2.125rem, 34px);
  }

  .metric-strip span {
    font-size: 13px;
  }

  .log-block {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 18px;
    padding: 16px 10px;
  }

  .log-block .num,
  .log-block b {
    font-size: 11px;
  }

  .log-block p {
    font-size: 17px;
    line-height: 1.62;
  }

  .preview-top {
    height: 34px;
  }

  .preview-pane {
    min-height: min(666px, calc(100dvh - 184px));
    padding: 18px;
  }

  .jobs-preview-stack {
    min-height: 620px;
  }

  .dashboard-shot {
    width: calc(100% + 24px);
    margin: 0 -10px 0 auto;
  }

  .job-detail-shot {
    width: min(48%, 500px);
    margin: -324px 18px 0 auto;
    padding: 14px;
    border-radius: 18px;
  }

  .job-hero {
    gap: 18px;
    padding: 13px 15px;
    border-radius: 14px;
  }

  .job-hero span,
  .job-panels span,
  .job-hero p,
  .job-panels p,
  .job-panels dd {
    font-size: 13px;
  }

  .job-hero h4 {
    font-size: clamp(19px, 1.55rem, 25px);
  }

  .job-hero strong,
  .job-actions button,
  .job-panels button {
    font-size: 12.5px;
  }

  .job-actions {
    gap: 8px;
  }

  .job-actions button,
  .job-panels button {
    height: 32px;
    padding: 0 11px;
  }

  .job-panels {
    gap: 12px;
  }

  .job-panels section {
    min-height: 132px;
    padding: 13px 15px;
    border-radius: 14px;
  }

  .job-panels h5 {
    font-size: 16px;
  }

  .job-select {
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }

  .sparfuchs-product-wall {
    padding: 20px;
  }

  .retailer-dashboard-card {
    min-height: 190px;
    padding: 16px;
  }

  .retailer-metrics b {
    font-size: 19px;
  }

  .retailer-table {
    padding: 11px;
  }

  .retailer-table strong {
    font-size: 16px;
  }

  .pwa-screen {
    border-radius: 26px;
  }

  .pwa-screen > img {
    object-fit: cover;
  }

  .juri-preview {
    grid-template-columns: 128px 1fr;
    min-height: 540px;
  }

  .juri-preview aside,
  .chat-card,
  .chart-card {
    padding: 24px;
  }

  .line-chart {
    height: 140px;
  }

  .ide-status {
    height: 24px;
    font-size: 10.5px;
  }
}

/* Final production correction: larger job dashboard, clean mobile screens, no preview pills. */
@media (min-width: 1024px) {
  [data-project="bewerben"] .preview-pane {
    padding: 14px !important;
  }

  [data-project="bewerben"] .jobs-preview-stack {
    display: block !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  [data-project="bewerben"] .dashboard-shot {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    aspect-ratio: auto !important;
    border-radius: 17px !important;
    transform: none !important;
  }

  [data-project="bewerben"] .dashboard-shot img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 50% 0% !important;
    transform: none !important;
  }

  [data-project="bewerben"] .dashboard-shot::before {
    content: "Dashboard Focus";
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 5px 10px;
    background: rgba(251, 250, 246, 0.9);
    border: 1px solid rgba(28, 26, 22, 0.08);
    border-radius: 99px;
    color: var(--ink-2);
    font-family: var(--mono);
    font-size: 10px;
    backdrop-filter: blur(8px);
  }

  [data-project="bewerben"] .job-detail-shot {
    display: none !important;
  }

  .pwa-screen figcaption {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .mobile-frame-badge {
    display: none !important;
  }

  .mobile-demo-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: oklch(0.96 0.004 230);
  }

  .mobile-phone-screen {
    display: grid;
    place-items: center;
    padding: 12px 18px;
    background:
      radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.92), transparent 34%),
      linear-gradient(180deg, rgba(236, 240, 242, 0.82), rgba(246, 244, 239, 0.96));
  }

  .mobile-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* Final override: the scraper dashboard returns as bounded context, after all legacy desktop rules. */
@media (min-width: 1024px) {
  [data-project="sparfuchs"] .sparfuchs-product-wall {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: clamp(104px, 13vh, 132px) minmax(0, 1fr) !important;
    gap: 16px !important;
    align-content: start !important;
    align-items: start !important;
    justify-items: center !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 18px !important;
    overflow: hidden !important;
  }

  [data-project="sparfuchs"] .retailer-dashboard-card {
    display: block !important;
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 12px !important;
    overflow: hidden !important;
    border-radius: 16px !important;
  }

  [data-project="sparfuchs"] .retailer-dashboard-card p {
    margin: 0 0 7px !important;
    font-size: 10px !important;
  }

  [data-project="sparfuchs"] .retailer-metrics {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  [data-project="sparfuchs"] .retailer-metrics span {
    min-width: 0 !important;
    padding: 8px !important;
    border-radius: 10px !important;
  }

  [data-project="sparfuchs"] .retailer-metrics b {
    font-size: 16px !important;
    line-height: 1 !important;
  }

  [data-project="sparfuchs"] .retailer-metrics i {
    overflow: hidden !important;
    font-size: 9px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  [data-project="sparfuchs"] .retailer-table {
    display: none !important;
  }

  [data-project="sparfuchs"] .pwa-screen {
    grid-row: 2 !important;
    width: 100% !important;
    max-width: min(214px, 100%) !important;
    height: auto !important;
    max-height: 100% !important;
    aspect-ratio: 9 / 18.8 !important;
    margin: 0 !important;
    border-radius: 23px !important;
    transform: none !important;
  }

  [data-project="sparfuchs"] .pwa-screen > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: top center !important;
    background: oklch(0.995 0.002 230);
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  [data-project="sparfuchs"] .sparfuchs-product-wall {
    grid-template-rows: 104px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 14px !important;
  }

  [data-project="sparfuchs"] .pwa-screen {
    max-width: min(184px, 100%) !important;
  }

  [data-project="sparfuchs"] .retailer-dashboard-card {
    padding: 10px !important;
  }

  [data-project="sparfuchs"] .retailer-metrics b {
    font-size: 14px !important;
  }
}

/* Production pass: Sparfuchs phones stay primary, scraper dashboard is bounded context. */
@media (min-width: 1024px) {
  [data-project="sparfuchs"] .sparfuchs-product-wall {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) clamp(118px, 18vh, 156px) !important;
    gap: 14px !important;
    align-items: start !important;
    justify-items: center !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 18px !important;
    overflow: hidden !important;
  }

  [data-project="sparfuchs"] .retailer-dashboard-card {
    display: block !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 12px !important;
    overflow: hidden !important;
    border-radius: 16px !important;
  }

  [data-project="sparfuchs"] .retailer-dashboard-card p {
    margin: 0 0 8px !important;
    font-size: 10px !important;
  }

  [data-project="sparfuchs"] .retailer-metrics {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  [data-project="sparfuchs"] .retailer-metrics span {
    min-width: 0 !important;
    padding: 8px !important;
    border-radius: 10px !important;
  }

  [data-project="sparfuchs"] .retailer-metrics b {
    font-size: 16px !important;
    line-height: 1 !important;
  }

  [data-project="sparfuchs"] .retailer-metrics i {
    overflow: hidden !important;
    font-size: 9px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  [data-project="sparfuchs"] .retailer-table {
    display: none !important;
  }

  [data-project="sparfuchs"] .pwa-screen {
    grid-row: 1 !important;
    width: 100% !important;
    max-width: min(214px, 100%) !important;
    height: auto !important;
    max-height: 100% !important;
    aspect-ratio: 9 / 18.8 !important;
    margin: 0 !important;
    border-radius: 23px !important;
    transform: none !important;
  }

  [data-project="sparfuchs"] .pwa-screen > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: top center !important;
    background: oklch(0.995 0.002 230);
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  [data-project="sparfuchs"] .sparfuchs-product-wall {
    grid-template-rows: minmax(0, 1fr) 122px !important;
    gap: 12px !important;
    padding: 14px !important;
  }

  [data-project="sparfuchs"] .pwa-screen {
    max-width: min(184px, 100%) !important;
  }

  [data-project="sparfuchs"] .retailer-dashboard-card {
    padding: 10px !important;
  }

  [data-project="sparfuchs"] .retailer-metrics b {
    font-size: 14px !important;
  }
}

@media (max-width: 1023px) {
  .mobile-scraper-card {
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.78), transparent 34%),
      linear-gradient(180deg, oklch(0.96 0.02 160 / 0.86), rgba(246, 244, 239, 0.98)) !important;
  }

  .mobile-scraper-card p {
    color: oklch(0.36 0.07 152) !important;
  }

  .mobile-scraper-card > strong {
    margin-top: 18px !important;
    font-size: 52px !important;
  }

  .mobile-scraper-card > span {
    display: block !important;
    margin: 4px 0 18px !important;
  }

  .mobile-scraper-card div {
    min-height: 54px !important;
    align-items: center !important;
  }
}

@media (min-width: 1024px) {
  [data-project="bewerben"] .preview-stack {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.72fr);
    gap: 18px;
    align-items: start;
    height: 100%;
    min-height: 0;
  }

  [data-project="bewerben"] .dashboard-shot {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
    aspect-ratio: 16 / 11;
    transform: none;
  }

  [data-project="bewerben"] .dashboard-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    transform: none;
  }

  [data-project="bewerben"] .job-detail-shot {
    position: static;
    width: 100%;
    margin: 0;
    padding: 14px;
    transform: none;
  }

  [data-project="bewerben"] .job-hero,
  [data-project="bewerben"] .job-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  [data-project="bewerben"] .job-panels {
    grid-template-columns: 1fr;
  }

  [data-project="bewerben"] .job-panels section {
    min-height: 0;
  }

  [data-project="bewerben"] .job-panels dl {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  [data-project="sparfuchs"] .sparfuchs-product-wall {
    display: flex;
    gap: clamp(14px, 2vw, 26px);
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    min-height: 0;
    padding: clamp(42px, 6vh, 70px) 26px 28px;
    overflow: hidden;
  }

  [data-project="sparfuchs"] .retailer-dashboard-card {
    display: none;
  }

  [data-project="sparfuchs"] .pwa-screen {
    flex: 1 1 0;
    width: auto;
    max-width: 240px;
    height: auto;
    aspect-ratio: 9 / 18.8;
    border-radius: 24px;
    background: #fff;
    box-shadow:
      0 24px 48px rgba(23, 45, 69, 0.18),
      0 8px 18px rgba(23, 45, 69, 0.1);
    transform: none;
  }

  [data-project="sparfuchs"] .pwa-screen > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    background: #fff;
  }

  [data-project="sparfuchs"] .pwa-screen figcaption {
    top: 11px;
    z-index: 2;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  [data-project="bewerben"] .preview-stack {
    grid-template-columns: minmax(0, 1.28fr) minmax(190px, 0.72fr);
    gap: 14px;
  }

  [data-project="bewerben"] .job-detail-shot {
    padding: 12px;
  }

  [data-project="sparfuchs"] .sparfuchs-product-wall {
    gap: 14px;
    padding: 42px 20px 24px;
  }

  [data-project="sparfuchs"] .pwa-screen {
    max-width: 210px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .paper-ide {
    width: 1392px;
    max-width: none;
    zoom: var(--desktop-ide-scale, 1);
  }

  .ide-top {
    grid-template-columns: auto auto minmax(220px, 1fr) auto;
    gap: 12px;
    height: 38px;
    margin: 8px 8px 0;
    padding: 0 12px 0 14px;
  }

  .ide-body {
    grid-template-columns: 232px minmax(340px, 520px) minmax(640px, 1fr);
    min-height: min(700px, calc(100dvh - 150px));
    margin-top: 8px;
  }

  .ide-side {
    padding: 14px 8px 10px;
  }

  .side-title {
    padding: 4px 8px 8px;
    font-size: 10.5px;
  }

  .side-row {
    gap: 8px;
    padding: 8px;
  }

  .side-row strong {
    font-size: 12.5px;
  }

  .side-row small {
    font-size: 10.5px;
  }

  .tabs {
    height: 34px;
  }

  .tab {
    padding: 0 14px;
    font-size: 12px;
  }

  .mid-body {
    padding: 24px 26px 26px;
  }

  .mid-crumb {
    font-size: 11px;
  }

  .ide-mid h3 {
    font-size: 28px;
  }

  .mid-meta {
    font-size: 12.5px;
    line-height: 1.55;
  }

  .metric-strip {
    gap: 10px;
    margin: 16px 0 6px;
  }

  .metric-strip div {
    min-height: 96px;
    padding: 14px 16px;
  }

  .metric-strip strong {
    font-size: clamp(24px, 2.125rem, 34px);
  }

  .metric-strip span {
    font-size: 13px;
  }

  .log-block {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 18px;
    padding: 16px 10px;
  }

  .log-block .num,
  .log-block b {
    font-size: 11px;
  }

  .log-block p {
    font-size: 17px;
    line-height: 1.62;
  }

  .preview-top {
    height: 34px;
  }

  .preview-pane {
    min-height: min(666px, calc(100dvh - 184px));
    padding: 18px;
  }

  .jobs-preview-stack {
    min-height: 620px;
  }

  .dashboard-shot {
    width: calc(100% + 24px);
    margin: 0 -10px 0 auto;
  }

  .job-detail-shot {
    width: min(48%, 500px);
    margin: -324px 18px 0 auto;
    padding: 14px;
    border-radius: 18px;
  }

  .job-hero {
    gap: 18px;
    padding: 13px 15px;
    border-radius: 14px;
  }

  .job-hero span,
  .job-panels span {
    font-size: 13px;
  }

  .job-hero h4 {
    font-size: clamp(19px, 1.55rem, 25px);
  }

  .job-hero p,
  .job-panels p,
  .job-panels dd {
    font-size: 13px;
  }

  .job-hero strong,
  .job-actions button,
  .job-panels button {
    font-size: 12.5px;
  }

  .job-actions {
    gap: 8px;
  }

  .job-actions button,
  .job-panels button {
    height: 32px;
    padding: 0 11px;
  }

  .job-panels {
    gap: 12px;
  }

  .job-panels section {
    min-height: 132px;
    padding: 13px 15px;
    border-radius: 14px;
  }

  .job-panels h5 {
    font-size: 16px;
  }

  .job-select {
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }

  .sparfuchs-product-wall {
    padding: 20px;
  }

  .retailer-dashboard-card {
    min-height: 190px;
    padding: 16px;
  }

  .retailer-metrics b {
    font-size: 19px;
  }

  .retailer-table {
    padding: 11px;
  }

  .retailer-table strong {
    font-size: 16px;
  }

  .pwa-screen {
    border-radius: 26px;
  }

  .pwa-screen > img {
    object-fit: cover;
  }

  .juri-preview {
    grid-template-columns: 128px 1fr;
    min-height: 540px;
  }

  .juri-preview aside,
  .chat-card,
  .chart-card {
    padding: 24px;
  }

  .line-chart {
    height: 140px;
  }

  .ide-status {
    height: 24px;
    font-size: 10.5px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .paper-ide {
    width: 1392px;
    max-width: none;
    zoom: var(--desktop-ide-scale, 1);
  }

  .ide-top {
    grid-template-columns: auto auto minmax(220px, 1fr) auto;
    gap: 12px;
    height: 38px;
    margin: 8px 8px 0;
    padding: 0 12px 0 14px;
  }

  .window-lights span {
    width: 11px;
    height: 11px;
  }

  .ide-crumb {
    font-size: 11.5px;
  }

  .ide-omni {
    height: 24px;
    font-size: 11.5px;
  }

  .url-bar {
    font-size: 11px;
  }

  .ide-body {
    grid-template-columns: 232px minmax(340px, 520px) minmax(640px, 1fr);
    min-height: min(700px, calc(100dvh - 150px));
    margin-top: 8px;
  }

  .ide-side {
    padding: 14px 8px 10px;
  }

  .side-title {
    padding: 4px 8px 8px;
    font-size: 10.5px;
  }

  .side-row {
    gap: 8px;
    padding: 8px;
  }

  .side-row strong {
    font-size: 12.5px;
  }

  .side-row small {
    font-size: 10.5px;
  }

  .tabs {
    height: 34px;
  }

  .tab {
    padding: 0 14px;
    font-size: 12px;
  }

  .mid-body {
    padding: 24px 26px 26px;
  }

  .mid-crumb {
    font-size: 11px;
  }

  .ide-mid h3 {
    font-size: 28px;
  }

  .mid-meta {
    font-size: 12.5px;
    line-height: 1.55;
  }

  .metric-strip {
    gap: 10px;
    margin: 16px 0 6px;
  }

  .metric-strip div {
    min-height: 96px;
    padding: 14px 16px;
  }

  .metric-strip strong {
    font-size: clamp(24px, 2.125rem, 34px);
  }

  .metric-strip span {
    font-size: 13px;
  }

  .log-block {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 18px;
    padding: 16px 10px;
  }

  .log-block .num,
  .log-block b {
    font-size: 11px;
  }

  .log-block p {
    font-size: 17px;
    line-height: 1.62;
  }

  .preview-top {
    height: 34px;
  }

  .preview-pane {
    min-height: min(666px, calc(100dvh - 184px));
    padding: 18px;
  }

  .jobs-preview-stack {
    min-height: 620px;
  }

  .dashboard-shot {
    width: calc(100% + 24px);
    margin: 0 -10px 0 auto;
  }

  .job-detail-shot {
    width: min(48%, 500px);
    margin: -324px 18px 0 auto;
    padding: 14px;
    border-radius: 18px;
  }

  .job-hero {
    gap: 18px;
    padding: 13px 15px;
    border-radius: 14px;
  }

  .job-hero h4 {
    font-size: clamp(19px, 1.55rem, 25px);
  }

  .job-hero p,
  .job-hero strong,
  .job-actions button,
  .job-panels button,
  .job-panels p,
  .job-panels dd {
    font-size: revert;
  }

  .job-actions {
    gap: 8px;
  }

  .job-actions button,
  .job-panels button {
    height: 32px;
    padding: 0 11px;
  }

  .job-panels {
    gap: 12px;
  }

  .job-panels section {
    min-height: 132px;
    padding: 13px 15px;
    border-radius: 14px;
  }

  .job-panels h5 {
    font-size: 16px;
  }

  .job-select {
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }

  .sparfuchs-product-wall {
    padding: 20px;
  }

  .retailer-dashboard-card {
    min-height: 190px;
    padding: 16px;
  }

  .retailer-metrics b {
    font-size: 19px;
  }

  .retailer-table {
    padding: 11px;
  }

  .retailer-table strong {
    font-size: 16px;
  }

  .pwa-screen {
    border-radius: 26px;
  }

  .pwa-screen > img {
    object-fit: cover;
  }

  .juri-preview {
    grid-template-columns: 128px 1fr;
    min-height: 540px;
  }

  .juri-preview aside,
  .chat-card,
  .chart-card {
    padding: 24px;
  }

  .line-chart {
    height: 140px;
  }

  .ide-status {
    height: 24px;
    font-size: 10.5px;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .site-top {
    width: calc(100% - 32px);
    height: 52px;
    top: 8px;
    padding: 0 22px;
  }

  .brand strong {
    font-size: 18px;
  }

  .site-links a {
    padding: 6px 9px;
    font-size: 11.5px;
  }

  .hero {
    width: calc(100% - 32px);
    min-height: clamp(210px, 25dvh, 270px);
    padding: clamp(22px, 3vh, 34px) 24px clamp(34px, 4.8vh, 56px);
  }

  .hero h1 {
    max-width: 19ch;
    font-size: clamp(44px, 5vw, 62px);
  }

  .project-section {
    padding: clamp(12px, 2.2vh, 24px) 0 clamp(48px, 6vh, 72px);
    scroll-margin-top: 66px;
  }

  .project-copy {
    width: calc(100% - 32px);
    padding: 0 24px 22px;
  }

  .project-copy h2 {
    font-size: clamp(32px, 3.2vw, 42px);
  }

  .project-copy p {
    max-width: 58ch;
    font-size: 17px;
  }

  .paper-ide {
    width: calc(100% - 28px);
    border-radius: 14px;
  }

  .ide-top {
    height: 34px;
    grid-template-columns: auto auto minmax(160px, 1fr) auto;
    gap: 9px;
    margin: 6px 6px 0;
    padding: 0 10px;
  }

  .window-lights span {
    width: 9px;
    height: 9px;
  }

  .ide-crumb,
  .url-bar {
    font-size: 10px;
  }

  .ide-omni {
    height: 21px;
    font-size: 10px;
  }

  .ide-body {
    grid-template-columns: 178px minmax(286px, 370px) minmax(470px, 1fr);
    min-height: min(625px, calc(100dvh - 132px));
    margin-top: 6px;
  }

  .ide-side {
    padding: 11px 6px 8px;
  }

  .side-title {
    padding: 3px 7px 7px;
    font-size: 9.5px;
  }

  .side-row {
    gap: 7px;
    padding: 7px;
  }

  .side-row strong {
    font-size: 10.5px;
  }

  .side-row small {
    font-size: 9.5px;
  }

  .tabs {
    height: 30px;
  }

  .tab {
    padding: 0 12px;
    font-size: 10.5px;
  }

  .mid-body {
    padding: 18px 18px 20px;
  }

  .mid-crumb {
    font-size: 10px;
  }

  .ide-mid h3 {
    font-size: 24px;
  }

  .mid-meta {
    font-size: 11px;
    line-height: 1.45;
  }

  .metric-strip {
    gap: 8px;
    margin: 12px 0 4px;
  }

  .metric-strip div {
    min-height: 78px;
    padding: 11px 12px;
  }

  .metric-strip strong {
    font-size: 26px;
  }

  .metric-strip span {
    font-size: 11.5px;
  }

  .log-block {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 6px;
  }

  .log-block .num,
  .log-block b {
    font-size: 10px;
  }

  .log-block p {
    font-size: 14px;
    line-height: 1.5;
  }

  .preview-top {
    height: 30px;
  }

  .preview-pane {
    min-height: min(595px, calc(100dvh - 162px));
    padding: 14px;
  }

  .jobs-preview-stack {
    min-height: 540px;
  }

  .dashboard-shot {
    width: calc(100% + 10px);
    margin-right: -4px;
  }

  .job-detail-shot {
    width: min(42%, 360px);
    margin: -250px 8px 0 auto;
    padding: 11px;
    border-radius: 15px;
  }

  .job-hero {
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .job-hero h4 {
    font-size: 20px;
  }

  .job-hero p,
  .job-hero strong,
  .job-actions button,
  .job-panels button,
  .job-panels p,
  .job-panels dd {
    font-size: 11px;
  }

  .job-actions {
    gap: 6px;
  }

  .job-actions button,
  .job-panels button {
    height: 28px;
    padding: 0 8px;
  }

  .job-panels {
    gap: 8px;
  }

  .job-panels section {
    min-height: 108px;
    padding: 10px 11px;
    border-radius: 12px;
  }

  .job-panels h5 {
    font-size: 14px;
  }

  .job-select {
    height: 31px;
    padding: 0 10px;
    font-size: 12px;
  }

  .sparfuchs-product-wall {
    padding: 14px;
  }

  .retailer-dashboard-card {
    min-height: 160px;
    padding: 13px;
  }

  .retailer-metrics b {
    font-size: 15px;
  }

  .retailer-table {
    padding: 9px;
  }

  .retailer-table strong {
    font-size: 14px;
  }

  .pwa-screen {
    border-radius: 20px;
  }

  .pwa-screen > img {
    object-fit: contain;
    background: #fff;
  }

  .juri-preview {
    grid-template-columns: 108px 1fr;
    min-height: 520px;
  }

  .juri-preview aside,
  .chat-card,
  .chart-card {
    padding: 18px;
  }

  .line-chart {
    height: 118px;
  }

  .ide-status {
    height: 22px;
    font-size: 9.5px;
  }
}

@media (max-width: 980px) {
  .site-top {
    width: calc(100% - 32px);
    padding: 0 22px;
  }

  .site-links {
    display: none;
  }

  .hero,
  .project-copy,
  .site-footer {
    width: 100%;
    padding-right: 22px;
    padding-left: 22px;
  }

  .ide-top {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .ide-crumb {
    display: none;
  }

  .ide-body {
    grid-template-columns: 1fr;
  }

  .ide-side,
  .ide-mid {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .ide-side {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .side-title {
    grid-column: 1 / -1;
  }

  .preview-pane {
    min-height: 460px;
  }

  .phone-stage {
    min-height: 620px;
  }

  .sparfuchs-product-wall {
    min-height: 660px;
  }

  .retailer-dashboard-card {
    left: auto;
  }

  .pwa-screen-actions,
  .pwa-screen-saved,
  .pwa-screen-add {
    width: 100%;
  }

  .job-hero,
  .job-panels {
    grid-template-columns: 1fr;
  }

  .job-hero {
    flex-direction: column;
  }

  .job-actions {
    align-self: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .project-section {
    padding: 54px 0 68px;
  }

  .project-copy h2 {
    font-size: 34px;
  }

  .project-copy p {
    font-size: 18px;
  }

  .paper-ide {
    width: calc(100% - 20px);
    border-radius: 12px;
  }

  .ide-top {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ide-tools {
    display: none;
  }

  .ide-omni {
    justify-self: stretch;
  }

  .ide-omni b:nth-of-type(1),
  .ide-omni i:nth-of-type(1),
  .ide-omni kbd {
    display: none;
  }

  .ide-side {
    grid-template-columns: 1fr;
  }

  .tabs {
    overflow-x: auto;
  }

  .log-block {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .log-block .num {
    text-align: left;
  }

  .preview-pane {
    min-height: 420px;
    padding: 10px;
  }

  .dashboard-shot {
    width: 98%;
    aspect-ratio: 16 / 10;
    height: auto;
    margin: 0 auto;
  }

  .job-detail-shot {
    width: 96%;
    margin: -46px auto 0;
    transform: none;
  }

  .job-panels dl {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sparfuchs-product-wall {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    grid-template-rows: 440px auto;
    min-height: 700px;
    overflow-x: auto;
    padding: 12px;
    scroll-snap-type: x mandatory;
  }

  .retailer-dashboard-card {
    grid-column: 1 / -1;
    grid-row: 2;
    right: auto;
    left: auto;
    padding: 14px;
  }

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

  .retailer-table div {
    grid-template-columns: 1fr 0.8fr;
  }

  .retailer-table div span:nth-of-type(2),
  .retailer-table div i {
    display: none;
  }

  .pwa-screen-actions {
    grid-column: 1;
  }

  .pwa-screen-saved {
    grid-column: 2;
  }

  .pwa-screen-add {
    grid-column: 3;
  }

  .pwa-screen-actions,
  .pwa-screen-saved,
  .pwa-screen-add {
    grid-row: 1;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
  }

  .extra-promos {
    display: none;
  }

  .phone-card,
  .phone-card:nth-child(n) {
    width: min(100%, 280px);
    min-height: 260px;
    margin: 0 auto;
    transform: none;
  }

  .juri-preview {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .juri-preview aside {
    grid-row: auto;
  }

  .ide-status {
    overflow: hidden;
  }

  .status-right {
    display: none;
  }
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

#mobile-portfolio-root {
  display: none;
}

html.is-mobile-viewport body:not(.mobile-ready) > .site-top,
html.is-mobile-viewport body:not(.mobile-ready) > main#top,
html.is-mobile-viewport body:not(.mobile-ready) > .site-footer {
  visibility: hidden;
}

body.mobile-layout > .site-top,
body.mobile-layout > main#top,
body.mobile-layout > .site-footer {
  display: none;
}

body.mobile-layout #mobile-portfolio-root {
  display: block;
}

@media (max-width: 1023px) {
  body.mobile-layout {
    overflow-x: hidden;
    background:
      radial-gradient(ellipse at 50% 74%, rgba(255, 232, 188, 0.42) 0%, rgba(255, 210, 160, 0.18) 32%, transparent 70%),
      linear-gradient(180deg, rgba(235, 240, 245, 0) 58%, rgba(235, 240, 245, 0.26) 72%, rgba(235, 240, 245, 0) 86%),
      radial-gradient(ellipse at 50% 60%, transparent 50%, rgba(20, 40, 70, 0.18) 100%),
      linear-gradient(180deg, #1f4e7c 0%, #2a608e 14%, #3c77a6 28%, #538db8 42%, #6fa4c6 55%, #8ebad2 68%, #a8c8d8 78%, #c0d0d8 87%, #cdd5d8 94%, #d2d7d8 100%);
    background-attachment: fixed;
  }

  .mobile-portfolio {
    min-height: 100dvh;
    background: transparent;
    color: var(--ink);
  }

  .mobile-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(246, 244, 239, 0.24)),
      rgba(210, 225, 232, 0.34);
    border-bottom: 1px solid rgba(255, 255, 255, 0.46);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.62),
      0 14px 34px rgba(21, 49, 80, 0.14);
    backdrop-filter: saturate(150%) blur(18px);
    transition: background 200ms ease, border-color 200ms ease;
  }

  .mobile-nav.is-scrolled {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(246, 244, 239, 0.34)),
      rgba(210, 225, 232, 0.54);
    border-bottom-color: rgba(255, 255, 255, 0.58);
  }

  .mobile-logo-bar {
    display: flex;
    height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
  }

  .mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
  }

  .mobile-brand span {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    background: var(--ink);
    border-radius: 6px;
    color: var(--paper);
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1;
  }

  .mobile-brand strong {
    color: var(--ink-2);
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
  }

  .mobile-pill-strip {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 0 14px 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-project-pill {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(28, 26, 22, 0.04);
    border: 1px solid var(--border);
    border-radius: 99px;
    color: var(--ink-2);
    font-family: var(--mono);
    font-size: 12px;
    scroll-snap-align: start;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
    white-space: nowrap;
  }

  .mobile-project-pill span {
    font-size: 10px;
    opacity: 0.55;
  }

  .mobile-project-pill.active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
  }

  .mobile-project-pill:active {
    transform: translateY(1px);
  }

  .mobile-hero {
    padding: 6vh 18px 5vh;
    background: transparent;
  }

  .mobile-hero h1 {
    max-width: 18ch;
    margin: 0;
    color: oklch(0.98 0.006 230);
    font-size: clamp(36px, 9.5vw, 52px);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.04;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
    text-wrap: balance;
  }

  .mobile-hero h1 em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
  }

  .mobile-projects {
    background: transparent;
  }

  .mobile-project-section {
    padding: 6vh 0;
    background: transparent;
    scroll-margin-top: 96px;
  }

  .mobile-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.76);
    font-family: var(--mono);
    font-size: 11px;
  }

  .mobile-breadcrumb i {
    color: rgba(255, 255, 255, 0.38);
    font-style: normal;
  }

  .mobile-breadcrumb b {
    color: oklch(0.98 0.006 230);
    font-weight: 500;
  }

  .mobile-breadcrumb em {
    color: rgba(255, 255, 255, 0.62);
    font-style: normal;
  }

  .mobile-breadcrumb strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.62);
    font-size: 10.5px;
    font-weight: 400;
  }

  .mobile-breadcrumb strong span {
    width: 6px;
    height: 6px;
    background: var(--live);
    border-radius: 99px;
    box-shadow: 0 0 0 3px rgba(45, 212, 164, 0.18);
  }

  .mobile-title-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 18px;
    margin-bottom: 30px;
  }

  .mobile-title-block h3 {
    margin: 0;
    color: oklch(0.98 0.006 230);
    font-size: clamp(30px, 7.6vw, 42px);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.05;
    text-wrap: balance;
  }

  .mobile-title-block p {
    max-width: 36ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--serif);
    font-size: 16.5px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    text-wrap: balance;
  }

  .mobile-block {
    padding: 22px 18px 0;
    background: rgba(246, 244, 239, 0.88);
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }

  .mobile-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--faint);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
  }

  .mobile-section-label span {
    width: 14px;
    height: 1px;
    background: var(--border-strong);
  }

  .mobile-preview-label {
    padding: 0 18px;
    margin-top: 32px;
  }

  .mobile-preview-block {
    background: rgba(246, 244, 239, 0.88);
    padding-bottom: 16px;
  }

  .mobile-preview-label em {
    margin-left: auto;
    color: var(--mute);
    font-size: 10px;
    font-style: normal;
    letter-spacing: 0;
    text-transform: lowercase;
  }

  .mobile-log-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }

  .mobile-log-row:first-child {
    border-top: 1px solid var(--border);
  }

  .mobile-log-row > span {
    width: 22px;
    flex: 0 0 22px;
    padding-top: 4px;
    color: var(--faint);
    font-family: var(--mono);
    font-size: 11px;
  }

  .mobile-log-row b {
    display: block;
    margin-bottom: 7px;
    color: var(--mute);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.04em;
  }

  .mobile-log-row p {
    margin: 0;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.55;
    text-wrap: pretty;
  }

  .mobile-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 18px 16px;
    scroll-padding-left: 18px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-frame {
    position: relative;
    flex: 0 0 min(84vw, 340px);
    width: min(84vw, 340px);
    overflow: hidden;
    aspect-ratio: 9 / 15;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 16px;
    scroll-snap-align: start;
    transition: opacity 900ms var(--ease), transform 900ms var(--ease), box-shadow 900ms ease;
  }

  .mobile-frame.seen {
    box-shadow:
      0 22px 50px -22px rgba(28, 26, 22, 0.22),
      0 4px 10px rgba(28, 26, 22, 0.04);
  }

  .mobile-frame-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 3px 9px;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 5px;
    color: var(--mute);
    font-family: var(--mono);
    font-size: 10.5px;
    backdrop-filter: blur(4px);
  }

  .mobile-frame-content {
    display: flex;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .mobile-browser-shot,
  .mobile-phone-screen {
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .mobile-browser-shot img {
    width: 172%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: 20% top;
  }

  .mobile-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .mobile-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    padding: 0 18px;
  }

  .mobile-dots button {
    width: 6px;
    height: 6px;
    padding: 0;
    background: rgba(28, 26, 22, 0.22);
    border: 0;
    border-radius: 99px;
    transition: width 250ms ease, background 250ms ease;
  }

  .mobile-dots button.active {
    width: 22px;
    background: var(--ink);
  }

  .mobile-status-strip {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 18px;
    margin-top: 0;
    background: rgba(246, 244, 239, 0.88);
    border-top: 1px solid var(--border);
    color: var(--faint);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.04em;
  }

  .mobile-status-strip i {
    opacity: 0.6;
    font-style: normal;
  }

  .mobile-status-strip strong {
    margin-left: auto;
    font-weight: 400;
  }

  .mobile-pull-quote {
    max-width: 28ch;
    padding: 8vh 18px 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
    font-family: var(--serif);
    font-size: clamp(20px, 5.6vw, 26px);
    font-style: italic;
    line-height: 1.35;
    text-wrap: balance;
  }

  .mobile-info {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 40px 18px 70px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--mono);
    font-size: 11px;
  }

  .mobile-info a {
    width: max-content;
    color: inherit;
  }

  .mobile-kanban,
  .mobile-detail-card,
  .mobile-stats-card,
  .mobile-retailer-card,
  .mobile-healthcare-chat,
  .mobile-healthcare-metric-card,
  .mobile-healthcare-research-card,
  .mobile-source-list {
    width: 100%;
    height: 100%;
    padding: 44px 18px 18px;
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.74), transparent 34%),
      linear-gradient(180deg, rgba(236, 240, 242, 0.82), rgba(246, 244, 239, 0.96));
    color: var(--ink);
  }

  .mobile-kanban header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-family: var(--mono);
    font-size: 11px;
  }

  .mobile-kanban section {
    padding: 12px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    border-radius: 10px;
  }

  .mobile-kanban strong,
  .mobile-healthcare-chat small,
  .mobile-healthcare-metric-card small {
    color: var(--mute);
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 400;
  }

  .mobile-kanban p,
  .mobile-source-list p {
    margin: 8px 0 0;
    padding: 9px 10px;
    background: var(--paper-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
  }

  .mobile-detail-card h4 {
    margin: 8px 0 3px;
    font-size: 28px;
    line-height: 1.05;
  }

  .mobile-detail-card span,
  .mobile-detail-card dt {
    color: var(--mute);
    font-family: var(--mono);
    font-size: 11px;
  }

  .mobile-detail-card p {
    margin: 0 0 18px;
    color: var(--ink-2);
  }

  .mobile-detail-card dl {
    display: grid;
    gap: 10px;
    margin: 0;
  }

  .mobile-detail-card dl div,
  .mobile-stats-card div,
  .mobile-retailer-card div {
    padding: 12px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--border);
    border-radius: 9px;
  }

  .mobile-detail-card dd {
    margin: 4px 0 0;
    font-weight: 700;
  }

  .mobile-detail-card button {
    width: 100%;
    height: 38px;
    margin-top: 14px;
    background: var(--ink);
    border: 0;
    border-radius: 7px;
    color: var(--paper);
    font-family: var(--mono);
    font-size: 12px;
  }

  .mobile-stats-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-content: start;
  }

  .mobile-stats-card > strong,
  .mobile-retailer-card > strong {
    grid-column: 1 / -1;
    font-family: var(--mono);
    font-size: 56px;
    font-weight: 500;
    line-height: 1;
  }

  .mobile-stats-card > span,
  .mobile-retailer-card > span {
    grid-column: 1 / -1;
    margin-top: -4px;
    color: var(--mute);
    font-family: var(--mono);
    font-size: 11px;
  }

  .mobile-stats-card b,
  .mobile-stats-card i,
  .mobile-retailer-card b,
  .mobile-retailer-card i {
    display: block;
    font-style: normal;
  }

  .mobile-stats-card i,
  .mobile-retailer-card i {
    color: var(--mute);
    font-family: var(--mono);
    font-size: 10px;
  }

  .mobile-stats-card p {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    color: var(--ink-2);
  }

  .mobile-retailer-card p {
    margin: 0 0 16px;
    color: oklch(0.38 0.03 170);
    font-family: var(--mono);
    font-size: 11px;
  }

  .mobile-retailer-card div {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
  }

  .mobile-healthcare-chat p {
    margin: 14px 0 0;
    padding: 14px;
    background: var(--paper-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
  }

  .mobile-healthcare-chat p:last-child {
    margin-left: 24px;
    background: rgba(52, 50, 45, 0.06);
  }

  .mobile-healthcare-metric-card div {
    height: 240px;
    margin: 18px 0 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background:
      linear-gradient(165deg, transparent 48%, #c4a778 49%, #c4a778 51%, transparent 52%),
      linear-gradient(12deg, transparent 58%, #34322d 59%, #34322d 61%, transparent 62%),
      linear-gradient(var(--border) 1px, transparent 1px),
      linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  }

  .mobile-healthcare-metric-card strong {
    font-family: var(--mono);
    font-size: 30px;
    font-weight: 500;
  }

  .mobile-healthcare-research-card b,
  .mobile-source-list b {
    display: block;
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 1.1;
  }

  .mobile-healthcare-research-card p {
    margin: 0 0 18px;
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.55;
  }

  .mobile-healthcare-research-card span {
    display: inline-flex;
    padding: 6px 9px;
    background: var(--attention-soft);
    border: 1px solid oklch(0.74 0.1 66 / 0.38);
    border-radius: 99px;
    color: oklch(0.36 0.08 54);
    font-family: var(--mono);
    font-size: 11px;
  }

  .mobile-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 900ms cubic-bezier(0.22, 0.7, 0.25, 1) var(--delay, 0ms),
      transform 900ms cubic-bezier(0.22, 0.7, 0.25, 1) var(--delay, 0ms);
  }

  .mobile-reveal.seen,
  .mobile-frame.seen {
    opacity: 1;
    transform: translateY(0);
  }

  @media (prefers-reduced-motion: reduce) {
    .mobile-nav,
    .mobile-project-pill,
    .mobile-frame,
    .mobile-dots button,
    .mobile-reveal {
      transition: none;
    }

    .mobile-reveal,
    .mobile-frame {
      opacity: 1;
      transform: none;
    }
  }
}

/* Impeccable final mobile pass: fewer artifacts, clearer color, simpler previews. */
@media (max-width: 1023px) {
  .mobile-nav,
  .mobile-nav.is-scrolled {
    background:
      linear-gradient(180deg, rgba(251, 250, 246, 0.84), rgba(246, 244, 239, 0.68)),
      rgba(199, 216, 226, 0.64);
    border-bottom: 1px solid rgba(28, 26, 22, 0.08);
    box-shadow: 0 12px 34px rgba(21, 49, 80, 0.12);
  }

  .mobile-project-pill {
    background: rgba(251, 250, 246, 0.62);
    border-color: rgba(28, 26, 22, 0.11);
    color: var(--ink-2);
  }

  .mobile-project-pill.active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
  }

  .mobile-project-pill.active span {
    color: inherit;
    opacity: 0.72;
  }

  .mobile-title-block {
    margin-bottom: 24px;
  }

  .mobile-project-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .mobile-project-kicker i {
    width: 6px;
    height: 6px;
    background: var(--live);
    border-radius: 99px;
    box-shadow: 0 0 0 3px rgba(45, 212, 164, 0.18);
  }

  .mobile-block,
  .mobile-preview-block,
  .mobile-status-strip {
    background:
      linear-gradient(180deg, rgba(251, 250, 246, 0.97), rgba(246, 244, 239, 0.94)),
      var(--paper);
  }

  .mobile-log-label {
    display: inline-flex;
    width: fit-content;
    padding: 3px 9px;
    border: 1px solid var(--border);
    border-radius: 99px;
  }

  .mobile-log-label.problem {
    background: oklch(0.91 0.045 235 / 0.78);
    border-color: oklch(0.7 0.07 235 / 0.34);
    color: oklch(0.34 0.06 238);
  }

  .mobile-log-label.value {
    background: var(--attention-soft);
    border-color: oklch(0.74 0.1 66 / 0.38);
    color: oklch(0.36 0.08 54);
  }

  .mobile-log-label.features {
    background: oklch(0.91 0.055 150 / 0.76);
    border-color: oklch(0.68 0.08 150 / 0.34);
    color: oklch(0.31 0.07 152);
  }

  .mobile-log-label.tech {
    background: oklch(0.9 0.018 285 / 0.76);
    border-color: oklch(0.62 0.04 285 / 0.3);
    color: oklch(0.32 0.04 285);
  }

  .mobile-browser-shot-dashboard img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    background: oklch(0.96 0.004 230);
  }
}

/* Impeccable final desktop pass: product screens primary, scraper context bounded. */
@media (min-width: 1024px) {
  [data-project="bewerben"] .preview-stack {
    display: block !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  [data-project="bewerben"] .dashboard-shot {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    aspect-ratio: auto !important;
    transform: none !important;
  }

  [data-project="bewerben"] .dashboard-shot img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: top left !important;
    background: oklch(0.96 0.004 230);
    transform: none !important;
  }

  [data-project="bewerben"] .job-detail-shot {
    display: none !important;
  }

  [data-project="sparfuchs"] .sparfuchs-product-wall {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: clamp(104px, 13vh, 132px) minmax(0, 1fr) !important;
    gap: 16px !important;
    align-content: start !important;
    align-items: start !important;
    justify-items: center !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 18px !important;
    overflow: hidden !important;
  }

  [data-project="sparfuchs"] .retailer-dashboard-card {
    display: block !important;
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 12px !important;
    overflow: hidden !important;
    border-radius: 16px !important;
  }

  [data-project="sparfuchs"] .retailer-dashboard-card p {
    margin: 0 0 7px !important;
    font-size: 10px !important;
  }

  [data-project="sparfuchs"] .retailer-metrics {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  [data-project="sparfuchs"] .retailer-metrics span {
    min-width: 0 !important;
    padding: 8px !important;
    border-radius: 10px !important;
  }

  [data-project="sparfuchs"] .retailer-metrics b {
    font-size: 16px !important;
    line-height: 1 !important;
  }

  [data-project="sparfuchs"] .retailer-metrics i {
    overflow: hidden !important;
    font-size: 9px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  [data-project="sparfuchs"] .retailer-table {
    display: none !important;
  }

  [data-project="sparfuchs"] .pwa-screen {
    grid-row: 2 !important;
    width: 100% !important;
    max-width: min(214px, 100%) !important;
    height: auto !important;
    max-height: 100% !important;
    aspect-ratio: 9 / 18.8 !important;
    margin: 0 !important;
    border-radius: 23px !important;
    transform: none !important;
  }

  [data-project="sparfuchs"] .pwa-screen-actions,
  [data-project="sparfuchs"] .pwa-screen-saved,
  [data-project="sparfuchs"] .pwa-screen-add {
    grid-row: 2 !important;
  }

  [data-project="sparfuchs"] .pwa-screen-actions {
    grid-column: 1 !important;
  }

  [data-project="sparfuchs"] .pwa-screen-saved {
    grid-column: 2 !important;
  }

  [data-project="sparfuchs"] .pwa-screen-add {
    grid-column: 3 !important;
  }

  [data-project="sparfuchs"] .pwa-screen > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: top center !important;
    background: oklch(0.995 0.002 230);
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .paper-ide {
    width: 1392px;
    max-width: none;
    zoom: var(--desktop-ide-scale, 1);
  }

  .ide-top {
    grid-template-columns: auto auto minmax(220px, 1fr) auto;
    gap: 12px;
    height: 38px;
    margin: 8px 8px 0;
    padding: 0 12px 0 14px;
  }

  .ide-body {
    grid-template-columns: 232px minmax(340px, 520px) minmax(640px, 1fr);
    min-height: min(700px, calc(100dvh - 150px));
    margin-top: 8px;
  }

  .ide-side {
    padding: 14px 8px 10px;
  }

  .side-title {
    padding: 4px 8px 8px;
    font-size: 10.5px;
  }

  .side-row {
    gap: 8px;
    padding: 8px;
  }

  .side-row strong {
    font-size: 12.5px;
  }

  .side-row small {
    font-size: 10.5px;
  }

  .tabs {
    height: 34px;
  }

  .tab {
    padding: 0 14px;
    font-size: 12px;
  }

  .mid-body {
    padding: 24px 26px 26px;
  }

  .mid-crumb {
    font-size: 11px;
  }

  .ide-mid h3 {
    font-size: 28px;
  }

  .mid-meta {
    font-size: 12.5px;
    line-height: 1.55;
  }

  .metric-strip {
    gap: 10px;
    margin: 16px 0 6px;
  }

  .metric-strip div {
    min-height: 96px;
    padding: 14px 16px;
  }

  .metric-strip strong {
    font-size: clamp(24px, 2.125rem, 34px);
  }

  .metric-strip span {
    font-size: 13px;
  }

  .log-block {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 18px;
    padding: 16px 10px;
  }

  .log-block .num,
  .log-block b {
    font-size: 11px;
  }

  .log-block p {
    font-size: 17px;
    line-height: 1.62;
  }

  .preview-top {
    height: 34px;
  }

  .preview-pane {
    min-height: min(666px, calc(100dvh - 184px));
    padding: 18px;
  }

  .jobs-preview-stack {
    min-height: 620px;
  }

  .dashboard-shot {
    width: calc(100% + 24px);
    margin: 0 -10px 0 auto;
  }

  .job-detail-shot {
    width: min(48%, 500px);
    margin: -324px 18px 0 auto;
    padding: 14px;
    border-radius: 18px;
  }

  .job-hero {
    gap: 18px;
    padding: 13px 15px;
    border-radius: 14px;
  }

  .job-hero span,
  .job-panels span,
  .job-hero p,
  .job-panels p,
  .job-panels dd {
    font-size: 13px;
  }

  .job-hero h4 {
    font-size: clamp(19px, 1.55rem, 25px);
  }

  .job-hero strong,
  .job-actions button,
  .job-panels button {
    font-size: 12.5px;
  }

  .job-actions {
    gap: 8px;
  }

  .job-actions button,
  .job-panels button {
    height: 32px;
    padding: 0 11px;
  }

  .job-panels {
    gap: 12px;
  }

  .job-panels section {
    min-height: 132px;
    padding: 13px 15px;
    border-radius: 14px;
  }

  .job-panels h5 {
    font-size: 16px;
  }

  .job-select {
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }

  .sparfuchs-product-wall {
    padding: 20px;
  }

  .retailer-dashboard-card {
    min-height: 190px;
    padding: 16px;
  }

  .retailer-metrics b {
    font-size: 19px;
  }

  .retailer-table {
    padding: 11px;
  }

  .retailer-table strong {
    font-size: 16px;
  }

  .pwa-screen {
    border-radius: 26px;
  }

  .pwa-screen > img {
    object-fit: cover;
  }

  .juri-preview {
    grid-template-columns: 128px 1fr;
    min-height: 540px;
  }

  .juri-preview aside,
  .chat-card,
  .chart-card {
    padding: 24px;
  }

  .line-chart {
    height: 140px;
  }

  .ide-status {
    height: 24px;
    font-size: 10.5px;
  }
}

/* Final production correction: larger job dashboard, clean mobile screens, no preview pills. */
@media (min-width: 1024px) {
  [data-project="bewerben"] .preview-pane {
    padding: 14px !important;
  }

  [data-project="bewerben"] .jobs-preview-stack {
    display: block !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  [data-project="bewerben"] .dashboard-shot {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    aspect-ratio: auto !important;
    border-radius: 17px !important;
    transform: none !important;
  }

  [data-project="bewerben"] .dashboard-shot img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 50% 0% !important;
    transform: none !important;
  }

  [data-project="bewerben"] .dashboard-shot::before {
    content: "Dashboard Focus";
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 5px 10px;
    background: rgba(251, 250, 246, 0.9);
    border: 1px solid rgba(28, 26, 22, 0.08);
    border-radius: 99px;
    color: var(--ink-2);
    font-family: var(--mono);
    font-size: 10px;
    backdrop-filter: blur(8px);
  }

  [data-project="bewerben"] .job-detail-shot {
    display: none !important;
  }

  .pwa-screen figcaption {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .mobile-frame-badge {
    display: none !important;
  }

  .mobile-demo-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: oklch(0.96 0.004 230);
  }

  .mobile-phone-screen {
    display: grid;
    place-items: center;
    padding: 12px 18px;
    background:
      radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.92), transparent 34%),
      linear-gradient(180deg, rgba(236, 240, 242, 0.82), rgba(246, 244, 239, 0.96));
  }

  .mobile-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

@media (min-width: 1024px) {
  [data-project="bewerben"] .dashboard-shot img {
    object-position: 18% 0% !important;
  }

  [data-project="bewerben"] .dashboard-shot::before {
    right: 14px !important;
    left: auto !important;
  }
}
