:root {
  --ink: #16233a;
  --ink-soft: #47536a;
  --muted: #5a667c;
  --line: rgba(27, 54, 93, .14);
  --line-strong: rgba(27, 54, 93, .22);
  --blue: #2c6fd1;
  --blue-dark: #1e5fb8;
  --blue-light: #e9f0f9;
  --canvas: #f8f9fa;
  --paper: #ffffff;
  --success: #1e5fb8;
  --success-light: rgba(44, 111, 209, .09);
  --radius-card: 20px;
  --radius: 14px;
  --radius-small: 10px;
  --shadow-small: 0 2px 8px rgba(27, 54, 93, .08);
  --shadow: 0 24px 60px -22px rgba(27, 54, 93, .24);
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
svg {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -70px;
  left: 16px;
  padding: 12px 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  transition: top .2s;
}

.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  background: rgba(30, 95, 184, .96);
  backdrop-filter: blur(14px);
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(24, 81, 160, .97);
  box-shadow: 0 8px 24px rgba(22, 35, 58, .16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 82px;
  margin-inline: auto;
}

.header-title {
  min-width: 0;
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 2.6vw, 34px);
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.header-title a { display: block; }

.header-divider {
  color: rgba(255, 255, 255, .48);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: rgba(255, 255, 255, .94);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -.02em;
  transition: color .2s;
}

.brand:hover,
.brand:focus-visible { color: #fff; }

.profile-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 26%;
  box-shadow: 0 6px 16px rgba(8, 32, 74, .24);
}

main { padding-top: 82px; }

.project-label,
.block-kicker,
.tool-number {
  margin: 0;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.projects-section { padding-block: 0; }

.project-section {
  position: relative;
}

.project-section:nth-child(odd) {
  background: var(--canvas);
}

.project-section:nth-child(even) {
  background: var(--blue-light);
}

.project-section-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
  padding-block: clamp(76px, 8.5vw, 116px);
}

.project-intro {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 52px;
}

.project-intro:has(> .project-media) {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  align-items: end;
}

.project-copy { min-width: 0; }

.project-media {
  width: 100%;
  height: auto;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.project-media img {
  display: block;
  width: 100%;
  height: auto;
}

.unisole-intro,
.arbitrage-intro,
.tools-intro {
  grid-template-columns: minmax(0, .98fr) minmax(400px, 1.02fr);
  align-items: center;
  gap: clamp(42px, 5vw, 72px);
  margin-bottom: 68px;
}

.unisole-gallery,
.arbitrage-gallery,
.tools-gallery {
  position: relative;
  isolation: isolate;
  min-height: 450px;
  margin: 0;
}

.unisole-shot,
.arbitrage-shot,
.tools-shot {
  position: absolute;
  overflow: hidden;
  border: 5px solid var(--paper);
  border-radius: var(--radius-card);
  background: var(--paper);
  box-shadow: 0 22px 48px -20px rgba(22, 35, 58, .38);
  transition: border-color .24s ease, box-shadow .24s ease, filter .24s ease;
}

.unisole-shot img,
.arbitrage-shot img,
.tools-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .32s ease;
}

.unisole-shot-shop,
.arbitrage-shot-inventory {
  z-index: 1;
  top: 0;
  left: 0;
  width: 82%;
  height: 56%;
  transform: rotate(-1deg);
}

.unisole-shot-shop img,
.arbitrage-shot-inventory img { object-position: center; }

.unisole-shot-sneaker,
.arbitrage-shot-analysis {
  z-index: 2;
  bottom: 0;
  left: 7%;
  width: 64%;
  height: 50%;
  transform: rotate(1.25deg);
}

.unisole-shot-sneaker img,
.arbitrage-shot-analysis img { object-position: center; }

.unisole-shot-shipping,
.arbitrage-shot-logistics {
  z-index: 3;
  right: 0;
  bottom: 5%;
  width: 35%;
  height: 68%;
  transform: rotate(-1.5deg);
  box-shadow: 0 24px 52px -18px rgba(22, 35, 58, .45);
}

.unisole-shot-shipping img { object-position: center 55%; }
.arbitrage-shot-logistics img { object-position: center; }

.tools-shot img {
  object-fit: contain;
  background: var(--paper);
}

.tools-shot-deals {
  z-index: 1;
  top: 0;
  left: 0;
  width: 88%;
  aspect-ratio: 1.47;
  transform: rotate(-1deg);
}

.tools-shot-automation {
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 80%;
  aspect-ratio: 1.44;
  transform: rotate(1.2deg);
  box-shadow: 0 24px 52px -18px rgba(22, 35, 58, .45);
}

@media (hover: hover) and (pointer: fine) {
  .unisole-shot:hover,
  .arbitrage-shot:hover,
  .tools-shot:hover {
    z-index: 4;
    border-color: #f7fbff;
    box-shadow: 0 28px 58px -18px rgba(22, 35, 58, .48);
    filter: saturate(1.03);
  }

  .unisole-shot:hover img,
  .arbitrage-shot:hover img,
  .tools-shot:hover img {
    transform: scale(1.018);
  }
}

.section-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 0 0 34px;
  padding: 6px 13px;
  border: 1px solid rgba(44, 111, 209, .28);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(44, 111, 209, .075);
  box-shadow: 0 5px 14px rgba(44, 111, 209, .08);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
}

.section-number span {
  color: #405b7a;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-intro h2 {
  max-width: 900px;
  margin: 8px 0 0;
  font-size: clamp(34px, 4.4vw, 53px);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.project-description {
  max-width: 62ch;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.text-link svg { transition: transform .2s; }
.text-link:hover svg { transform: translate(3px, -3px); }

.kpi-panel {
  align-self: start;
  padding: 0;
}

.panel-heading {
  margin-bottom: 28px;
}

.panel-heading h3,
.block-heading h3 {
  margin: 0;
  font-size: clamp(22px, 2.3vw, 30px);
  letter-spacing: -.035em;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.kpi-item {
  display: grid;
  grid-template-rows: minmax(54px, auto) minmax(46px, auto);
  min-width: 0;
  min-height: 176px;
  align-content: end;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-small);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.kpi-item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.kpi-item dt {
  display: flex;
  grid-row: 2;
  align-items: center;
  align-self: start;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.kpi-item dt svg {
  width: 17px;
  height: 17px;
  color: var(--blue);
  transition: transform .22s ease, color .22s ease;
}

.kpi-item:hover dt svg {
  color: var(--blue-dark);
  transform: translateY(-2px) scale(1.06);
}

.kpi-item dd {
  grid-row: 1;
  align-self: end;
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}

.process-block {
  padding: clamp(28px, 3vw, 40px) 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
  box-shadow: var(--shadow-small);
}

.primary-process {
  padding-inline: clamp(18px, 3vw, 38px);
  background: var(--paper);
}

.block-heading { margin-bottom: 28px; }
.block-kicker { margin-bottom: 7px; }

.process-flow {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-flow-six {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(252px, auto);
  gap: 14px;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-rows: 18px 36px minmax(60px, auto) auto;
  gap: 7px;
  min-width: 0;
  height: 100%;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 3px rgba(27, 54, 93, .04);
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.process-step:hover {
  z-index: 2;
  border-color: #a7caec;
  background: #fff;
  box-shadow: var(--shadow-small);
  transform: translateY(-3px);
}

.process-step:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: calc(100% + 6px);
  color: var(--blue);
  content: "→";
  font-size: 18px;
  opacity: .68;
  transform: translateY(-50%);
  transition: color .22s ease, opacity .22s ease, transform .22s ease;
}

.process-step:hover:not(:last-child)::after {
  color: var(--blue-dark);
  opacity: 1;
  transform: translate(2px, -50%);
}

.step-number {
  align-self: start;
  color: #7790aa;
  font-size: 13px;
  font-weight: 780;
  letter-spacing: .08em;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-small);
  color: var(--blue-dark);
  background: var(--blue-light);
  transition: color .22s ease, background .22s ease, transform .22s ease;
}

.step-icon svg { width: 18px; height: 18px; }

.process-step:hover .step-icon {
  color: #fff;
  background: var(--blue);
  transform: translateY(-2px) scale(1.04);
}

.process-step strong {
  align-self: start;
  margin: 0;
  overflow-wrap: break-word;
  hyphens: auto;
  font-size: 15px;
  line-height: 1.3;
}

.process-step small {
  align-self: start;
  margin: 0;
  overflow-wrap: break-word;
  hyphens: auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.process-step-success {
  border-color: rgba(44, 111, 209, .24);
  background: var(--success-light);
}

.process-step-success strong { color: var(--success); }
.process-step-success .step-icon { color: var(--success); background: rgba(44, 111, 209, .12); }
.process-step-success:hover .step-icon { color: #fff; background: var(--success); }

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-block: 44px;
}

.focus-item {
  position: relative;
  padding: 30px clamp(20px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
  box-shadow: var(--shadow-small);
}

.focus-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--blue-dark);
  background: var(--blue-light);
  transition: color .22s ease, background .22s ease, transform .22s ease;
}

.focus-item:hover .focus-icon {
  color: #fff;
  background: var(--blue);
  transform: translateY(-3px);
}

.focus-item h3 {
  margin: 0 0 9px;
  font-size: 19px;
}

.focus-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.tools-list { border-top: 1px solid var(--line); }

.tool-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-block: 56px;
  border-bottom: 1px solid var(--line);
}

.tool-copy { max-width: 680px; }

.tool-copy h3 {
  margin: 8px 0 12px;
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.tool-copy > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.tool-flow .process-step { padding: 15px 13px; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--canvas);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
  padding-block: 38px;
}

.linkedin-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-small);
  color: var(--muted);
  transition: color .2s, background .2s, transform .2s;
}

.linkedin-link svg {
  width: 22px;
  height: 22px;
}

.linkedin-link:hover,
.linkedin-link:focus-visible {
  color: var(--blue-dark);
  background: rgba(44, 111, 209, .08);
  transform: translateY(-2px);
}

.imprint-trigger {
  padding: 8px 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s;
}

.imprint-trigger:hover,
.imprint-trigger:focus-visible {
  color: var(--blue-dark);
}

.imprint-dialog {
  width: min(calc(100% - 48px), 480px);
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 40px 42px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-card);
  color: rgba(255, 255, 255, .72);
  background: #101722;
  box-shadow: 0 32px 90px rgba(4, 10, 20, .45);
}

.imprint-dialog::backdrop {
  background: rgba(8, 16, 29, .68);
  backdrop-filter: blur(8px);
}

.imprint-close {
  position: absolute;
  top: 14px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, .52);
  background: transparent;
  font: inherit;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s, background .2s;
}

.imprint-close:hover,
.imprint-close:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.imprint-kicker {
  margin: 0 44px 26px 0;
  color: #8caee0;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.imprint-dialog h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
}

.imprint-dialog address,
.imprint-dialog p {
  margin: 0;
  font-size: 15px;
  font-style: normal;
  line-height: 1.65;
}

.imprint-dialog a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .28);
  text-underline-offset: 3px;
}

.imprint-section { margin-top: 26px; }

.imprint-section h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
}

body.imprint-open { overflow: hidden; }

.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .process-step.reveal-item {
  transition:
    opacity .55s ease,
    transform .55s ease,
    border-color .24s ease,
    background .24s ease,
    box-shadow .24s ease;
}

.motion-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .process-step.reveal-item.is-visible:hover {
  transform: translateY(-3px);
}

.motion-ready .process-step.reveal-item:not(.is-visible)::after {
  opacity: 0;
  transform: translate(-4px, -50%);
}

@media (max-width: 1120px) {
  .project-intro:has(> .project-media) {
    grid-template-columns: 1fr;
  }

  .project-media { max-width: 720px; }

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

@media (max-width: 1050px) {
  .process-flow-six {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 28px;
  }

  .process-step,
  .tool-flow .process-step { padding: 14px 18px; }
  .process-step {
    grid-template-rows: 18px 34px minmax(38px, auto) auto;
    min-height: 180px;
    gap: 6px;
  }

  .process-step:not(:last-child)::after {
    top: calc(100% + 4px);
    left: 50%;
    content: "↓";
    transform: translateX(-50%);
  }

  .motion-ready .process-step.reveal-item:not(.is-visible)::after {
    transform: translate(-50%, -4px);
  }
}

@media (max-width: 900px) {
  main { padding-top: 76px; }
  .header-inner { min-height: 76px; }
  .header-title { font-size: clamp(23px, 3.7vw, 29px); }
  .brand { font-size: 14px; }
  .profile-avatar { width: 36px; height: 36px; }

  .unisole-intro,
  .arbitrage-intro,
  .tools-intro {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .unisole-gallery,
  .arbitrage-gallery,
  .tools-gallery {
    width: 100%;
    max-width: 720px;
    min-height: 470px;
  }

}

@media (max-width: 680px) {
  .header-inner,
  .project-section-inner {
    width: min(calc(100% - 28px), var(--max-width));
  }

  main { padding-top: 96px; }

  .header-inner {
    min-height: 96px;
    align-content: center;
    flex-wrap: wrap;
    gap: 6px 0;
    padding-block: 10px;
  }

  .header-title {
    flex: 0 0 100%;
    font-size: clamp(19px, 5.5vw, 23px);
    white-space: nowrap;
  }

  .header-divider { display: none; }
  .brand { gap: 8px; font-size: 13px; }
  .profile-avatar { width: 32px; height: 32px; }

  .project-section-inner { padding-block: 68px; }
  .section-number { margin-bottom: 30px; }
  .project-intro h2 { font-size: clamp(36px, 11vw, 48px); }
  .project-description { font-size: 16px; }
  .project-intro { margin-bottom: 38px; }

  .unisole-intro,
  .arbitrage-intro,
  .tools-intro {
    gap: 38px;
    margin-bottom: 48px;
  }

  .unisole-gallery,
  .arbitrage-gallery,
  .tools-gallery { min-height: 350px; }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-block { padding: 24px 14px; }

  .process-flow-six {
    gap: 14px;
  }

  .process-step,
  .tool-flow .process-step {
    grid-template-columns: 32px minmax(0, 1fr) 24px;
    grid-template-rows: auto auto;
    column-gap: 11px;
    row-gap: 2px;
    min-height: 0;
    height: auto;
    padding: 11px 12px;
  }

  .process-step .step-number {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    font-size: 12px;
    line-height: 1.3;
  }

  .process-step .step-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    width: 32px;
    height: 32px;
  }

  .process-step .step-icon svg {
    width: 16px;
    height: 16px;
  }

  .process-step strong {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .process-step small {
    grid-column: 2 / 4;
    grid-row: 2;
  }

  .process-step:not(:last-child)::after {
    top: calc(100% + 1px);
    font-size: 15px;
    line-height: 1;
  }

  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-item {
    grid-template-rows: minmax(48px, auto) minmax(52px, auto);
    min-height: 150px;
    padding: 18px 15px;
  }
  .kpi-item dd { font-size: clamp(27px, 9vw, 36px); }

  .focus-grid { grid-template-columns: 1fr; gap: 12px; margin-block: 34px; }
  .focus-item { padding: 25px 20px; }

  .tool-section { padding-block: 38px; }

  .footer-inner {
    width: min(calc(100% - 28px), var(--max-width));
    padding-block: 30px;
  }

  .imprint-dialog {
    width: calc(100% - 28px);
    max-height: calc(100dvh - 28px);
    padding: 34px 24px 30px;
  }
}

@media (max-width: 390px) {
  .project-label, .block-kicker, .tool-number { font-size: 12px; }
  .kpi-item { padding: 16px 13px; }
  .unisole-gallery,
  .arbitrage-gallery,
  .tools-gallery { min-height: 315px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .motion-ready .reveal-item {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}
