.work-page-body .site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.work-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  grid-template-rows: auto auto;
  column-gap: clamp(44px, 6vw, 104px);
  row-gap: 24px;
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(44px, 5vw, 78px) clamp(24px, 4vw, 64px) clamp(48px, 5vw, 78px);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.work-hero::before { content:"GARGI SHINGTE / AUSGEWÄHLTE ARBEITEN 2026"; position:absolute; top:18px; left:clamp(24px,4vw,64px); right:clamp(24px,4vw,64px); z-index:2; padding-bottom:10px; border-bottom:1px solid var(--line); color:var(--accent); font-size:9px; font-weight:600; letter-spacing:.08em; pointer-events:none; }

.work-hero-video { display:none; }

.work-hero > :not(.work-hero-video) {
  position: relative;
  z-index: 1;
}

.work-hero-copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 920px;
}

.work-hero-copy h1 {
  max-width: 920px;
  font: 600 clamp(54px, 5.7vw, 88px)/.88 "DM Sans", sans-serif;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.work-hero-copy > p:last-child {
  max-width: none;
}

.work-hero-copy > p:not(.open-to-work) {
  max-width: 760px;
  margin: 34px 0 0;
  color: var(--ink);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.55;
}

.open-to-work {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 25px 0 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  width: fit-content;
  transition: color .2s ease, transform .2s ease;
}

.open-to-work i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--accent);
  transition: transform .2s ease;
}

.open-to-work span {
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

.open-to-work:hover,
.open-to-work:focus-visible {
  color: var(--accent);
  transform: translateX(3px);
}

.open-to-work:hover i,
.open-to-work:focus-visible i {
  transform: rotate(45deg);
}

.open-to-work:hover span,
.open-to-work:focus-visible span {
  border-color: currentColor;
}

.work-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 30px;
}

.hero-action {
  min-height: 28px;
  padding: 0 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  transition: color .2s ease, transform .2s ease;
}

.hero-action--primary {
  color: var(--accent);
}

.hero-action:hover,
.hero-action:focus-visible {
  color: var(--accent);
  transform: translateX(3px);
}

.work-credentials {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.work-credentials li {
  display: grid;
  gap: 5px;
  padding: 16px 20px;
  border-bottom: 0;
}

.work-credentials li:first-child {
  padding-left: 20px;
}

.work-credentials li + li {
  border-left: 1px solid var(--line);
}

.work-credentials strong {
  font-size: 14px;
}

.work-credentials span {
  color: #51566e;
  font-size: 12px;
}

.work-feature {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.work-feature-slides {
  position: relative;
  aspect-ratio: 4 / 3.35;
  overflow: hidden;
  background: var(--cream);
}

.work-feature-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.work-feature-slide.active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.work-feature-media {
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
}

.work-feature-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 5s ease;
}

.work-feature-slide.active img {
  transform: scale(1.025);
}

.work-feature-slide > span {
  display: grid;
  gap: 4px;
  padding: 15px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}

.work-feature-slide small {
  color: var(--accent);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.work-feature-slide strong {
  color: var(--heading);
  font: 600 19px/1.15 "DM Sans", sans-serif;
}

.work-feature-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  padding-top: 13px;
}

.work-feature-controls {
  display: flex;
  gap: 0;
  padding-bottom: 2px;
}

.work-feature-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  position: relative;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.work-feature-controls button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 27px;
  height: 4px;
  border-radius: 100px;
  background: rgba(31, 40, 91, .2);
  transform: translate(-50%, -50%) scaleX(1);
  transition: background .2s ease, transform .2s ease;
}

.work-feature-controls button:hover::after,
.work-feature-controls button.active::after {
  background: var(--accent);
  transform: translate(-50%, -50%) scaleX(1.35);
}

.work-portfolio {
  max-width: 1600px;
  margin: 0 auto;
  padding: 96px clamp(24px,4vw,64px) 120px;
}

.work-heading {
  display: block;
  margin-bottom: 55px;
}

.work-heading .eyebrow {
  margin-bottom: 20px;
  color: var(--accent);
}

.work-heading h2 {
  margin: 0;
  font: 600 clamp(42px, 5.1vw, 76px)/.92 "DM Sans", sans-serif;
  letter-spacing: -.06em;
}

.work-heading > p:last-child {
  max-width: 620px;
  margin: 20px 0 0;
  color: #51566e;
  font-size: 14px;
  line-height: 1.6;
}

.work-portfolio .filter-bar {
  top: 0;
  padding-top: 16px;
}

.work-portfolio .projects {
  align-items: start;
}

.project-summary {
  max-width: 620px;
  margin-top: 9px !important;
  color: #566071;
  font-size: 14px !important;
  line-height: 1.5;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.project-disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.project-disciplines li {
  padding: 0;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-disciplines li + li::before {
  content: "/";
  margin: 0 8px;
  color: rgba(31, 40, 91, .45);
}

.project-type {
  margin: 0 0 8px !important;
  color: var(--accent);
  font-size: 10px !important;
  font-weight: 600;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
}

@media (max-width: 900px) {
  .work-page-body .site-header nav {
    background: var(--cream);
  }

  .work-hero {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: 44px;
  }

  .work-hero-copy,
  .work-feature,
  .work-credentials {
    grid-column: 1;
    grid-row: auto;
  }

  .work-credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .work-credentials li {
    padding: 16px 20px;
  }

  .work-credentials li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .work-credentials li:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .work-credentials li:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .work-feature {
    width: min(100%, 760px);
  }
}

@media (max-width: 640px) {
  .work-hero {
    padding-top: 64px;
  }

  .work-hero-copy h1 {
    font-size: clamp(36px, 9.5vw, 44px);
  }

  .work-hero-copy > p:not(.open-to-work) {
    margin-top: 26px;
    font-size: 14px;
    line-height: 1.52;
  }

  .work-credentials {
    display: block;
  }

  .work-credentials li:nth-child(odd),
  .work-credentials li:nth-child(even) {
    padding: 14px 0;
    border-left: 0;
  }

  .work-credentials li + li {
    border-top: 1px solid var(--line);
  }

  .work-feature-slide > span {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .work-feature-controls { gap: 0; }

  .work-heading {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .work-heading .eyebrow {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-hero-video {
    display: none;
  }

  .work-feature-slide,
  .work-feature-slide img,
  .work-feature-controls button,
  .work-feature-controls button::after,
  .hero-action,
  .open-to-work,
  .open-to-work i,
  .open-to-work span,
  .open-to-work i::after {
    transition: none;
    animation: none;
  }
}
