.homepage-desktop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  background-color: var(--rachie-editorial-color-paper);
  overflow-y: scroll;
}

.homepage-desktop .navigation {
  display: flex;
  height: 106px;
  align-items: flex-start;
  justify-content: center;
  gap: 680px;
  padding: 48px 64px 58px;
  position: relative;
  align-self: stretch;
  width: 100%;
  z-index: 4;
  background-color: var(--rachie-editorial-color-paper);
}

.homepage-desktop .text-wrapper {
  width: 280px;
  margin-bottom: -24px;
  font-family: var(--EN-display-25-font-family);
  font-weight: var(--EN-display-25-font-weight);
  font-size: var(--EN-display-25-font-size);
  letter-spacing: var(--EN-display-25-letter-spacing);
  line-height: var(--EN-display-25-line-height);
  position: relative;
  margin-top: -1px;
  color: var(--rachie-editorial-color-ink);
  font-style: var(--EN-display-25-font-style);
}

.homepage-desktop .TOP-WORK-ABOUT {
  display: flex;
  width: 340px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: -44px;
}

.homepage-desktop .TOP-scroll-anchor {
  display: flex;
  width: 40px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.homepage-desktop .div {
  position: relative;
  width: fit-content;
  font-family: "Inter-Regular", Helvetica;
  font-weight: 400;
  color: var(--rachie-editorial-color-ink);
  font-size: 11px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.homepage-desktop .text-wrapper-2 {
  position: relative;
  width: fit-content;
  font-family: "Inter-Regular", Helvetica;
  font-weight: 400;
  color: var(--rachie-editorial-color-muted);
  font-size: 11px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.homepage-desktop .WORK-scroll-anchor {
  display: flex;
  width: 48px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.homepage-desktop .ABOUT-scroll-anchor {
  display: flex;
  width: 56px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.homepage-desktop .CONTACT-scroll {
  display: flex;
  width: 76px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.homepage-desktop .element-hero-studio-photo {
  display: flex;
  flex-direction: column;
  width: 1440px;
  height: 713px;
  align-items: flex-start;
  gap: 36px;
  padding: 64px;
  position: relative;
  z-index: 3;
}

.homepage-desktop .VISUAL-DESIGNER {
  position: relative;
  width: 1312px;
  margin-top: -1px;
  font-family: var(--EN-body-12-font-family);
  font-weight: var(--EN-body-12-font-weight);
  color: var(--rachie-editorial-color-pink);
  font-size: var(--EN-body-12-font-size);
  letter-spacing: var(--EN-body-12-letter-spacing);
  line-height: var(--EN-body-12-line-height);
  font-style: var(--EN-body-12-font-style);
}

.homepage-desktop .MAKING-IDEAS-LOOK {
  position: relative;
  width: 1312px;
  font-family: var(--EN-display-132-font-family);
  font-weight: var(--EN-display-132-font-weight);
  color: var(--rachie-editorial-color-ink);
  font-size: var(--EN-display-132-font-size);
  letter-spacing: var(--EN-display-132-letter-spacing);
  line-height: var(--EN-display-132-line-height);
  font-style: var(--EN-display-132-font-style);
}

.homepage-desktop .span {
  color: #171717;
  letter-spacing: var(--EN-display-132-letter-spacing);
  font-family: var(--EN-display-132-font-family);
  font-style: var(--EN-display-132-font-style);
  font-weight: var(--EN-display-132-font-weight);
  line-height: var(--EN-display-132-line-height);
  font-size: var(--EN-display-132-font-size);
}

.homepage-desktop .text-wrapper-3 {
  color: #d91a68;
  letter-spacing: var(--EN-display-132-letter-spacing);
  font-family: var(--EN-display-132-font-family);
  font-style: var(--EN-display-132-font-style);
  font-weight: var(--EN-display-132-font-weight);
  line-height: var(--EN-display-132-line-height);
  font-size: var(--EN-display-132-font-size);
}

.homepage-desktop .text-wrapper-4 {
  position: relative;
  width: 1312px;
  font-family: var(--TC-body-32-font-family);
  font-weight: var(--TC-body-32-font-weight);
  color: var(--rachie-editorial-color-ink);
  font-size: var(--TC-body-32-font-size);
  letter-spacing: var(--TC-body-32-letter-spacing);
  line-height: var(--TC-body-32-line-height);
  font-style: var(--TC-body-32-font-style);
}

.homepage-desktop .intro-and-invitation {
  display: flex;
  flex-direction: column;
  width: 1312px;
  align-items: flex-start;
  gap: 5px;
  position: relative;
  flex: 0 0 auto;
}

.homepage-desktop .text-wrapper-5 {
  position: relative;
  width: 800px;
  margin-top: -1px;
  font-family: var(--TC-body-18-font-family);
  font-weight: var(--TC-body-18-font-weight);
  color: var(--rachie-editorial-color-ink);
  font-size: var(--TC-body-18-font-size);
  letter-spacing: var(--TC-body-18-letter-spacing);
  line-height: var(--TC-body-18-line-height);
  font-style: var(--TC-body-18-font-style);
}

.homepage-desktop .hi-i-m-rachie-i-turn {
  position: relative;
  width: 800px;
  font-family: var(--EN-body-17-font-family);
  font-weight: var(--EN-body-17-font-weight);
  color: var(--rachie-editorial-color-muted);
  font-size: var(--EN-body-17-font-size);
  letter-spacing: var(--EN-body-17-letter-spacing);
  line-height: var(--EN-body-17-line-height);
  font-style: var(--EN-body-17-font-style);
}

.homepage-desktop .SELECTED-WORKS {
  position: relative;
  width: fit-content;
  font-family: var(--EN-display-12-font-family);
  font-weight: var(--EN-display-12-font-weight);
  color: var(--rachie-editorial-color-ink);
  font-size: var(--EN-display-12-font-size);
  letter-spacing: var(--EN-display-12-letter-spacing);
  line-height: var(--EN-display-12-line-height);
  white-space: nowrap;
  font-style: var(--EN-display-12-font-style);
}

.homepage-desktop .editorial-divider {
  position: relative;
  width: 1312px;
  height: 1px;
  background-color: var(--rachie-editorial-color-ink);
}

.homepage-desktop .element-selected-works {
  display: flex;
  flex-direction: column;
  width: 1440px;
  align-items: flex-start;
  gap: 30px;
  padding: 64px;
  position: relative;
  flex: 0 0 auto;
  z-index: 2;
}

.homepage-desktop .p {
  position: relative;
  width: 1312px;
  margin-top: -1px;
  font-family: var(--TC-body-11-font-family);
  font-weight: var(--TC-body-11-font-weight);
  color: var(--rachie-editorial-color-muted);
  font-size: var(--TC-body-11-font-size);
  letter-spacing: var(--TC-body-11-letter-spacing);
  line-height: var(--TC-body-11-line-height);
  font-style: var(--TC-body-11-font-style);
}

.homepage-desktop .text-wrapper-6 {
  position: relative;
  width: 1312px;
  font-family: var(--EN-display-88-font-family);
  font-weight: var(--EN-display-88-font-weight);
  color: var(--rachie-editorial-color-ink);
  font-size: var(--EN-display-88-font-size);
  letter-spacing: var(--EN-display-88-letter-spacing);
  line-height: var(--EN-display-88-line-height);
  font-style: var(--EN-display-88-font-style);
}

.homepage-desktop .div-2 {
  position: relative;
  width: 1312px;
  font-family: var(--TC-body-17-font-family);
  font-weight: var(--TC-body-17-font-weight);
  color: var(--rachie-editorial-color-ink);
  font-size: var(--TC-body-17-font-size);
  letter-spacing: var(--TC-body-17-letter-spacing);
  line-height: var(--TC-body-17-line-height);
  font-style: var(--TC-body-17-font-style);
}

.homepage-desktop .text-wrapper-7 {
  color: #171717;
  font-family: var(--TC-body-17-font-family);
  font-style: var(--TC-body-17-font-style);
  font-weight: var(--TC-body-17-font-weight);
  letter-spacing: var(--TC-body-17-letter-spacing);
  line-height: var(--TC-body-17-line-height);
  font-size: var(--TC-body-17-font-size);
}

.homepage-desktop .text-wrapper-8 {
  color: #61615e;
  font-family: var(--TC-body-17-font-family);
  font-style: var(--TC-body-17-font-style);
  font-weight: var(--TC-body-17-font-weight);
  letter-spacing: var(--TC-body-17-letter-spacing);
  line-height: var(--TC-body-17-line-height);
  font-size: var(--TC-body-17-font-size);
}

.homepage-desktop .div-3 {
  display: flex;
  width: 1312px;
  align-items: flex-start;
  gap: 32px;
  position: relative;
  flex: 0 0 auto;
}

.homepage-desktop .div-4 {
  display: flex;
  flex-direction: column;
  width: 640px;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}

.homepage-desktop .dead-by-daylight {
  position: relative;
  width: 640px;
  height: 370px;
  background-image:none;
  background-size: cover;
  background-position: 50% 50%;
}

.homepage-desktop .text-wrapper-9 {
  position: relative;
  width: 640px;
  font-family: var(--TC-body-12-font-family);
  font-weight: var(--TC-body-12-font-weight);
  color: var(--rachie-editorial-color-muted);
  font-size: var(--TC-body-12-font-size);
  letter-spacing: var(--TC-body-12-letter-spacing);
  line-height: var(--TC-body-12-line-height);
  font-style: var(--TC-body-12-font-style);
}

.homepage-desktop .text-wrapper-10 {
  position: relative;
  width: 640px;
  font-family: var(--EN-display-38-font-family);
  font-weight: var(--EN-display-38-font-weight);
  color: var(--rachie-editorial-color-ink);
  font-size: var(--EN-display-38-font-size);
  letter-spacing: var(--EN-display-38-letter-spacing);
  line-height: var(--EN-display-38-line-height);
  font-style: var(--EN-display-38-font-style);
}

.homepage-desktop .text-wrapper-11 {
  position: relative;
  width: 640px;
  font-family: var(--TC-body-16-font-family);
  font-weight: var(--TC-body-16-font-weight);
  color: var(--rachie-editorial-color-ink);
  font-size: var(--TC-body-16-font-size);
  letter-spacing: var(--TC-body-16-letter-spacing);
  line-height: var(--TC-body-16-line-height);
  font-style: var(--TC-body-16-font-style);
}

.homepage-desktop .text-wrapper-12 {
  position: relative;
  width: 640px;
  font-family: var(--EN-body-15-font-family);
  font-weight: var(--EN-body-15-font-weight);
  color: var(--rachie-editorial-color-muted);
  font-size: var(--EN-body-15-font-size);
  letter-spacing: var(--EN-body-15-letter-spacing);
  line-height: var(--EN-body-15-line-height);
  font-style: var(--EN-body-15-font-style);
}

.homepage-desktop .offset-column {
  display: flex;
  flex-direction: column;
  width: 640px;
  align-items: flex-start;
  position: relative;
}

.homepage-desktop .div-5 {
  display: flex;
  flex-direction: column;
  width: 640px;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  flex: 0 0 auto;
}

.homepage-desktop .rabbit-base-replace {
  position: relative;
  width: 640px;
  height: 370px;
  background-image:none;
  background-size: cover;
  background-position: 50% 50%;
}

.homepage-desktop .uni-bakery-replace {
  position: relative;
  width: 640px;
  height: 370px;
  background-image:none;
  background-size: cover;
  background-position: 50% 50%;
}

.homepage-desktop .gaming-banners {
  position: relative;
  width: 640px;
  height: 370px;
  background-image:none;
  background-size: cover;
  background-position: 50% 50%;
}

.homepage-desktop .all-projects {
  display: flex;
  flex-direction: column;
  width: 1312px;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  flex: 0 0 auto;
}

.homepage-desktop .text-wrapper-13 {
  position: relative;
  width: 1312px;
  font-family: var(--TC-display-26-font-family);
  font-weight: var(--TC-display-26-font-weight);
  color: var(--rachie-editorial-color-ink);
  font-size: var(--TC-display-26-font-size);
  letter-spacing: var(--TC-display-26-letter-spacing);
  line-height: var(--TC-display-26-line-height);
  font-style: var(--TC-display-26-font-style);
}

.homepage-desktop .div-6 {
  display: flex;
  flex-direction: column;
  width: 640px;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}

.homepage-desktop .thumbnail-project {
  display: flex;
  width: 640px;
  align-items: center;
  gap: 24px;
  position: relative;
  flex: 0 0 auto;
}

.homepage-desktop .element-wasedakb-social {
  position: relative;
  width: 208px;
  height: 130px;
  background-image:none;
  background-size: cover;
  background-position: 50% 50%;
}

.homepage-desktop .project-title-and {
  display: flex;
  flex-direction: column;
  width: 408px;
  align-items: flex-start;
  gap: 10px;
  position: relative;
}

.homepage-desktop .text-wrapper-14 {
  position: relative;
  width: 408px;
  margin-top: -1px;
  font-family: var(--EN-display-23-font-family);
  font-weight: var(--EN-display-23-font-weight);
  color: var(--rachie-editorial-color-ink);
  font-size: var(--EN-display-23-font-size);
  letter-spacing: var(--EN-display-23-letter-spacing);
  line-height: var(--EN-display-23-line-height);
  font-style: var(--EN-display-23-font-style);
}

.homepage-desktop .text-wrapper-15 {
  position: relative;
  width: 408px;
  font-family: var(--TC-body-12-font-family);
  font-weight: var(--TC-body-12-font-weight);
  color: var(--rachie-editorial-color-muted);
  font-size: var(--TC-body-12-font-size);
  letter-spacing: var(--TC-body-12-letter-spacing);
  line-height: var(--TC-body-12-line-height);
  font-style: var(--TC-body-12-font-style);
}

.homepage-desktop .editorial-divider-2 {
  position: relative;
  width: 640px;
  height: 1px;
  background-color: var(--rachie-editorial-color-ink);
}

.homepage-desktop .element-ys-production {
  position: relative;
  width: 208px;
  height: 130px;
  background-image:none;
  background-size: cover;
  background-position: 50% 50%;
}

.homepage-desktop .element-bobstealer-gif {
  position: relative;
  width: 208px;
  height: 130px;
  background-image:none;
  background-size: cover;
  background-position: 50% 50%;
}

.homepage-desktop .element-uni-grocery-print {
  position: relative;
  width: 208px;
  height: 130px;
  background-image:none;
  background-size: cover;
  background-position: 50% 50%;
}

.homepage-desktop .element-culture-calendar {
  position: relative;
  width: 208px;
  height: 130px;
  background-image:none;
  background-size: cover;
  background-position: 50% 50%;
}

.homepage-desktop .element-knives-out {
  position: relative;
  width: 208px;
  height: 130px;
  background-image:none;
  background-size: cover;
  background-position: 50% 50%;
}

.homepage-desktop .element-womens-products {
  position: relative;
  width: 208px;
  height: 130px;
  background-image:none;
  background-size: cover;
  background-position: 50% 50%;
}

.homepage-desktop .element-triumph-home-bra {
  position: relative;
  width: 208px;
  height: 130px;
  background-image:none;
  background-size: cover;
  background-position: 50% 50%;
}

.homepage-desktop .element-about-me {
  display: flex;
  flex-direction: column;
  width: 1440px;
  align-items: flex-start;
  gap: 40px;
  padding: 64px;
  position: relative;
  flex: 0 0 auto;
  z-index: 1;
  background-color: var(--rachie-editorial-color-gray);
}

.homepage-desktop .bio-and-experience {
  display: flex;
  width: 1312px;
  align-items: flex-start;
  gap: 64px;
  position: relative;
  flex: 0 0 auto;
}

.homepage-desktop .experience {
  display: flex;
  flex-direction: column;
  width: 350px;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.homepage-desktop .text-wrapper-16 {
  position: relative;
  width: 350px;
  margin-top: -1px;
  font-family: var(--EN-display-144-font-family);
  font-weight: var(--EN-display-144-font-weight);
  color: var(--rachie-editorial-color-pink);
  font-size: var(--EN-display-144-font-size);
  letter-spacing: var(--EN-display-144-letter-spacing);
  line-height: var(--EN-display-144-line-height);
  font-style: var(--EN-display-144-font-style);
}

.homepage-desktop .YEARS-OF-MAKING {
  position: relative;
  width: 350px;
  font-family: "Inter-Regular", Helvetica;
  font-weight: 400;
  color: var(--rachie-editorial-color-pink);
  font-size: 11px;
  letter-spacing: 1.65px;
  line-height: 17px;
}

.homepage-desktop .bilingual-biography {
  display: flex;
  flex-direction: column;
  width: 898px;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.homepage-desktop .rachie {
  width: 898px;
  font-family: var(--TC-body-18-font-family);
  font-weight: var(--TC-body-18-font-weight);
  font-size: var(--TC-body-18-font-size);
  letter-spacing: var(--TC-body-18-letter-spacing);
  line-height: var(--TC-body-18-line-height);
  position: relative;
  margin-top: -1px;
  color: var(--rachie-editorial-color-ink);
  font-style: var(--TC-body-18-font-style);
}

.homepage-desktop .i-m-rachie-a-visual {
  position: relative;
  width: 898px;
  font-family: var(--EN-body-17-font-family);
  font-weight: var(--EN-body-17-font-weight);
  color: var(--rachie-editorial-color-muted);
  font-size: var(--EN-body-17-font-size);
  letter-spacing: var(--EN-body-17-letter-spacing);
  line-height: var(--EN-body-17-line-height);
  font-style: var(--EN-body-17-font-style);
}

.homepage-desktop .text-wrapper-17 {
  position: relative;
  width: 898px;
  font-family: var(--TC-body-16-font-family);
  font-weight: var(--TC-body-16-font-weight);
  color: var(--rachie-editorial-color-ink);
  font-size: var(--TC-body-16-font-size);
  letter-spacing: var(--TC-body-16-letter-spacing);
  line-height: var(--TC-body-16-line-height);
  font-style: var(--TC-body-16-font-style);
}

.homepage-desktop .text-wrapper-18 {
  position: relative;
  width: 898px;
  font-family: var(--EN-body-15-font-family);
  font-weight: var(--EN-body-15-font-weight);
  color: var(--rachie-editorial-color-muted);
  font-size: var(--EN-body-15-font-size);
  letter-spacing: var(--EN-body-15-letter-spacing);
  line-height: var(--EN-body-15-line-height);
  font-style: var(--EN-body-15-font-style);
}

.homepage-desktop .GRAPHIC-DESIGN {
  position: relative;
  width: 1312px;
  font-family: var(--EN-display-13-font-family);
  font-weight: var(--EN-display-13-font-weight);
  color: var(--rachie-editorial-color-ink);
  font-size: var(--EN-display-13-font-size);
  letter-spacing: var(--EN-display-13-letter-spacing);
  line-height: var(--EN-display-13-line-height);
  font-style: var(--EN-display-13-font-style);
}

.homepage-desktop .element-contact {
  display: flex;
  flex-direction: column;
  width: 1440px;
  align-items: flex-start;
  gap: 20px;
  padding: 64px;
  position: relative;
  flex: 0 0 auto;
  z-index: 0;
  background-color: var(--rachie-editorial-color-ink);
}

.homepage-desktop .text-wrapper-19 {
  position: relative;
  width: 1312px;
  margin-top: -1px;
  font-family: var(--TC-body-11-font-family);
  font-weight: var(--TC-body-11-font-weight);
  color: var(--rachie-editorial-color-white);
  font-size: var(--TC-body-11-font-size);
  letter-spacing: var(--TC-body-11-letter-spacing);
  line-height: var(--TC-body-11-line-height);
  font-style: var(--TC-body-11-font-style);
}

.homepage-desktop .HAVE-AN-IDEA-LET-s {
  position: relative;
  width: 1312px;
  font-family: var(--EN-display-112-font-family);
  font-weight: var(--EN-display-112-font-weight);
  color: var(--rachie-editorial-color-white);
  font-size: var(--EN-display-112-font-size);
  letter-spacing: var(--EN-display-112-letter-spacing);
  line-height: var(--EN-display-112-line-height);
  font-style: var(--EN-display-112-font-style);
}

.homepage-desktop .text-wrapper-20 {
  position: relative;
  width: 1312px;
  font-family: var(--TC-body-24-font-family);
  font-weight: var(--TC-body-24-font-weight);
  color: var(--rachie-editorial-color-white);
  font-size: var(--TC-body-24-font-size);
  letter-spacing: var(--TC-body-24-letter-spacing);
  line-height: var(--TC-body-24-line-height);
  font-style: var(--TC-body-24-font-style);
}

.homepage-desktop .a-project-in-mind-or {
  position: relative;
  width: 1312px;
  font-family: var(--EN-body-18-font-family);
  font-weight: var(--EN-body-18-font-weight);
  color: var(--rachie-editorial-color-white);
  font-size: var(--EN-body-18-font-size);
  letter-spacing: var(--EN-body-18-letter-spacing);
  line-height: var(--EN-body-18-line-height);
  font-style: var(--EN-body-18-font-style);
}

.homepage-desktop .SAY-HELLO {
  position: relative;
  width: 1312px;
  font-family: var(--EN-display-32-font-family);
  font-weight: var(--EN-display-32-font-weight);
  color: var(--rachie-editorial-color-pink);
  font-size: var(--EN-display-32-font-size);
  letter-spacing: var(--EN-display-32-letter-spacing);
  line-height: var(--EN-display-32-line-height);
  font-style: var(--EN-display-32-font-style);
}

.homepage-desktop .contact-details-to {
  position: relative;
  width: 1312px;
  font-family: var(--TC-body-12-font-family);
  font-weight: var(--TC-body-12-font-weight);
  color: var(--rachie-editorial-color-white);
  font-size: var(--TC-body-12-font-size);
  letter-spacing: var(--TC-body-12-letter-spacing);
  line-height: var(--TC-body-12-line-height);
  font-style: var(--TC-body-12-font-style);
}

.homepage-desktop .footer-identity-and {
  display: flex;
  width: 1312px;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  flex: 0 0 auto;
}

.homepage-desktop .RACHIE-FU-VISUAL {
  position: relative;
  width: 1000px;
  height: 44px;
  margin-top: -1px;
  font-family: var(--EN-body-10-font-family);
  font-weight: var(--EN-body-10-font-weight);
  color: var(--rachie-editorial-color-white);
  font-size: var(--EN-body-10-font-size);
  letter-spacing: var(--EN-body-10-letter-spacing);
  line-height: var(--EN-body-10-line-height);
  font-style: var(--EN-body-10-font-style);
}

.homepage-desktop .BACK-TO-TOP-scroll {
  display: flex;
  width: 180px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--rachie-editorial-color-pink);
}

.homepage-desktop .TOP {
  color: var(--rachie-editorial-color-white);
  position: relative;
  width: fit-content;
  font-family: "Inter-Regular", Helvetica;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.homepage-desktop::-webkit-scrollbar {
  width: 0;
  display: none;
}
/* Existing style.css is injected above this refactor layer. */

.homepage-desktop a:focus-visible {
  outline: 2px solid var(--rachie-editorial-color-pink);
  outline-offset: 4px;
}

.homepage-desktop .navigation a,
.homepage-desktop .SELECTED-WORKS,
.homepage-desktop .element-contact > a {
  color: inherit;
}

.homepage-desktop .element-contact > a {
  display: block;
}

@media (max-width: 900px) {
  .homepage-desktop {
    width: 100%;
    overflow-x: hidden;
  }

  .homepage-desktop .navigation,
  .homepage-desktop .element-hero-studio-photo,
  .homepage-desktop .element-selected-works,
  .homepage-desktop .element-about-me,
  .homepage-desktop .element-contact {
    width: 100%;
  }

  .homepage-desktop .navigation {
    gap: 24px;
    justify-content: space-between;
    padding-left: 24px;
    padding-right: 24px;
  }

  .homepage-desktop .element-hero-studio-photo,
  .homepage-desktop .element-selected-works,
  .homepage-desktop .element-about-me,
  .homepage-desktop .element-contact {
    padding-left: 24px;
    padding-right: 24px;
  }

  .homepage-desktop .VISUAL-DESIGNER,
  .homepage-desktop .MAKING-IDEAS-LOOK,
  .homepage-desktop .text-wrapper-4,
  .homepage-desktop .editorial-divider,
  .homepage-desktop .p,
  .homepage-desktop .text-wrapper-6,
  .homepage-desktop .div-2,
  .homepage-desktop .div-3,
  .homepage-desktop .all-projects,
  .homepage-desktop .GRAPHIC-DESIGN,
  .homepage-desktop .text-wrapper-19,
  .homepage-desktop .HAVE-AN-IDEA-LET-s,
  .homepage-desktop .text-wrapper-20,
  .homepage-desktop .a-project-in-mind-or,
  .homepage-desktop .SAY-HELLO,
  .homepage-desktop .contact-details-to,
  .homepage-desktop .footer-identity-and {
    width: 100%;
  }

  .homepage-desktop .intro-and-invitation,
  .homepage-desktop .text-wrapper-5,
  .homepage-desktop .hi-i-m-rachie-i-turn,
  .homepage-desktop .div-4,
  .homepage-desktop .div-5,
  .homepage-desktop .offset-column,
  .homepage-desktop .experience,
  .homepage-desktop .bilingual-biography,
  .homepage-desktop .rachie,
  .homepage-desktop .i-m-rachie-a-visual,
  .homepage-desktop .text-wrapper-17,
  .homepage-desktop .text-wrapper-18 {
    width: 100%;
  }

  .homepage-desktop .div-3 {
    flex-wrap: wrap;
  }

  .homepage-desktop .div-4,
  .homepage-desktop .offset-column,
  .homepage-desktop .div-5 {
    max-width: 100%;
  }

  .homepage-desktop .dead-by-daylight,
  .homepage-desktop .rabbit-base-replace,
  .homepage-desktop .uni-bakery-replace,
  .homepage-desktop .gaming-banners {
    width: 100%;
    height: auto;
    aspect-ratio: 640 / 370;
  }

  .homepage-desktop .bio-and-experience,
  .homepage-desktop .footer-identity-and {
    width: 100%;
    flex-wrap: wrap;
    gap: 32px;
  }

  .homepage-desktop .thumbnail-project,
  .homepage-desktop .div-6,
  .homepage-desktop .project-title-and,
  .homepage-desktop .text-wrapper-14,
  .homepage-desktop .text-wrapper-15,
  .homepage-desktop .editorial-divider-2 {
    width: 100%;
  }

  .homepage-desktop .thumbnail-project {
    align-items: flex-start;
  }

  .homepage-desktop .footer-identity-and .RACHIE-FU-VISUAL {
    width: auto;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .homepage-desktop .navigation {
    height: auto;
    min-height: 72px;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .homepage-desktop .navigation .text-wrapper {
    width: auto;
  }

  .homepage-desktop .TOP-WORK-ABOUT {
    width: auto;
    gap: 8px;
  }

  .homepage-desktop .TOP-scroll-anchor,
  .homepage-desktop .WORK-scroll-anchor,
  .homepage-desktop .ABOUT-scroll-anchor,
  .homepage-desktop .CONTACT-scroll {
    width: auto;
  }

  .homepage-desktop .MAKING-IDEAS-LOOK {
    font-size: clamp(54px, 14vw, 100px);
  }

  .homepage-desktop .text-wrapper-6 {
    font-size: clamp(44px, 12vw, 88px);
  }

  .homepage-desktop .HAVE-AN-IDEA-LET-s {
    font-size: clamp(54px, 14vw, 112px);
  }

  .homepage-desktop .thumbnail-project {
    gap: 16px;
  }

  .homepage-desktop .element-wasedakb-social,
  .homepage-desktop .element-ys-production,
  .homepage-desktop .element-bobstealer-gif,
  .homepage-desktop .element-uni-grocery-print,
  .homepage-desktop .element-culture-calendar,
  .homepage-desktop .element-knives-out,
  .homepage-desktop .element-womens-products,
  .homepage-desktop .element-triumph-home-bra {
    width: 35%;
    height: auto;
    aspect-ratio: 208 / 130;
  }

  .homepage-desktop .project-title-and {
    width: 65%;
  }
}


/* ===== HERO DESKTOP ===== */

.homepage-desktop .element-hero-studio-photo {
  width: 100%;
  min-height: 713px;
  height: auto;

  background-image:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.82) 55%,
      rgba(255, 255, 255, 0.35) 80%,
      rgba(255, 255, 255, 0) 100%
    ),
    url("./img/hero-desktop.webp");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ===== HERO MOBILE ===== */

@media (max-width: 600px) {
  .homepage-desktop .element-hero-studio-photo {
    min-height: 492px;
    height: auto;

    background-image:
      linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.55) 45%,
        rgba(255, 255, 255, 0.12) 100%
      ),
      url("./img/hero-mobile.webp");

    background-position: center center;
    background-size: cover;
  }
}


/* Project card interaction */
[data-project] {
  cursor: pointer;
}

[data-project]:focus-visible {
  outline: 3px solid #d91a68;
  outline-offset: 5px;
}

/* Project dialog */
#project-dialog {
  width: min(900px, calc(100% - 32px));
  max-height: 90vh;
  padding: 36px;
  border: none;
  background: #fff;
  color: #171717;
  overflow-y: auto;
}

#project-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

#close-dialog {
  display: block;
  margin-left: auto;
  cursor: pointer;
}

.project-gallery {
  display: flex;
  align-items: center;
  gap: 12px;
}

#project-image {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  #project-dialog {
    padding: 20px;
  }
}

#project-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 55vh;
  object-fit: contain;
}


/* ===== PROJECT POPUP - FIGMA STYLE ===== */

#project-dialog {
  width: min(1120px, calc(100% - 48px));
  max-width: 1120px;
  max-height: 90vh;
  padding: 32px;
  border: none;
  background: #fafaf8;
  color: #171717;
  box-sizing: border-box;
  overflow-y: auto;
}

#project-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

/* Close button */
#close-dialog {
  position: sticky;
  top: 0;
  float: right;
  border: none;
  background: #fafaf8;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}

/* Project title */
#dialog-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin: 16px 0 24px;
}

/* Project image */
.project-gallery {
  display: flex;
  align-items: center;
  position: relative;
  gap: 12px;
}

#project-image {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1040 / 416;
  object-fit: contain;
}

/* Gallery arrows */
#prev-image,
#next-image {
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Image counter */
#image-counter {
  text-align: center;
  color: #d91a68;
  font-size: 12px;
  font-weight: 700;
  margin: 12px 0 28px;
}

/* Mobile popup */
@media (max-width: 600px) {
  #project-dialog {
    width: calc(100% - 24px);
    max-height: 92vh;
    padding: 20px;
  }

  #dialog-title {
    font-size: 24px;
  }

  .project-gallery {
    gap: 6px;
  }

  #prev-image,
  #next-image {
    font-size: 22px;
  }
}


/* ===== PROJECT POPUP FINAL LAYOUT ===== */

#project-dialog {
  width: min(1080px, calc(100% - 48px));
  max-width: 1080px;
  max-height: 90vh;
  padding: 30px;
  box-sizing: border-box;
  border: 0;
  background: #fafaf8;
  color: #171717;
  overflow-y: auto;
  font-family: Arial, "Noto Sans TC", sans-serif;
}

#project-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dialog-label {
  font-size: 11px;
  margin: 0;
}

#close-dialog {
  position: static;
  float: none;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

#dialog-title {
  margin: 18px 0 22px;
  font-family: Arial, "Noto Sans TC", sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
}

.project-gallery {
  display: block;
}

#project-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  aspect-ratio: auto;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  margin-bottom: 26px;
}

#prev-image,
#next-image {
  border: none;
  background: none;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 16px;
  color: #171717;
}

#image-counter {
  margin: 0;
  color: #d91a68;
  font-size: 12px;
  font-weight: 700;
}

.project-description {
  font-size: 14px;
  line-height: 1.8;
}

.project-role-label {
  margin: 0 0 14px;
  color: #d91a68;
  font-size: 11px;
}

.project-role {
  margin: 0 0 22px;
}

.project-intro {
  margin: 0 0 22px;
}

.project-body {
  margin: 0;
}

@media (max-width: 600px) {
  #project-dialog {
    width: calc(100% - 24px);
    max-height: 92vh;
    padding: 20px;
  }

  #dialog-title {
    font-size: 24px;
  }
}


/* ===== GALLERY: ARROWS BESIDE IMAGE ===== */

.project-gallery {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

#project-image {
  display: block;
  flex: 1;
  min-width: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
}

#prev-image,
#next-image {
  flex: 0 0 22px;
  padding: 0;
  border: none;
  background: transparent;
  color: #171717;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

#prev-image:hover,
#next-image:hover {
  color: #d91a68;
}

#image-counter {
  margin: 12px 0 26px;
  text-align: center;
  color: #d91a68;
  font-size: 12px;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 600px) {
  .project-gallery {
    gap: 6px;
  }

  #prev-image,
  #next-image {
    flex-basis: 18px;
    font-size: 24px;
  }
}


/* ===== PROJECT DESCRIPTION ===== */

.project-description {
  font-family: Arial, "Noto Sans TC", sans-serif;
  font-size: 15px;
  line-height: 1.8;
}

.project-role-label {
  margin: 0 0 20px;
  color: #d91a68;
  font-size: 12px;
  font-weight: 400;
}

.project-role {
  margin: 0 0 24px;
  color: #171717;
}

.project-intro {
  margin: 0 0 28px;
  color: #171717;
  font-size: 17px;
}

.project-body {
  margin: 0 0 28px;
  color: #171717;
  line-height: 1.9;
}

.project-about-title {
  margin: 32px 0 20px;
  font-size: 16px;
  font-weight: 800;
}

.project-body-en {
  margin: 0 0 36px;
  color: #61615e;
  font-size: 16px;
  line-height: 1.8;
}

.project-bottom-close {
  display: block;
  margin: 0 auto;
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: #171717;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.project-bottom-close:hover {
  color: #d91a68;
}

/* Mobile */
@media (max-width: 600px) {
  .project-description {
    font-size: 14px;
  }

  .project-intro,
  .project-body-en {
    font-size: 14px;
  }

  .project-body {
    line-height: 1.8;
  }
}


/* ===== Production responsive and artwork overrides ===== */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { overflow-x: hidden; background: #fafaf8; }
.homepage-desktop { width:100%; overflow:visible; }
.homepage-desktop .navigation { position:sticky; top:0; z-index:50; width:100%; gap:24px; align-items:center; justify-content:space-between; height:auto; min-height:82px; padding:20px clamp(20px,4.45vw,64px); }
.homepage-desktop .navigation .text-wrapper { width:auto; margin:0; flex:0 0 auto; }
.homepage-desktop .TOP-WORK-ABOUT { width:auto; margin:0; gap:clamp(8px,1.8vw,22px); }
.homepage-desktop .element-hero-studio-photo,
.homepage-desktop .element-selected-works,
.homepage-desktop .element-about-me,
.homepage-desktop .element-contact { width:100%; padding:clamp(28px,4.45vw,64px); }
.homepage-desktop .element-selected-works > *,
.homepage-desktop .element-about-me > *,
.homepage-desktop .element-contact > * { max-width:100%; }
.homepage-desktop .element-selected-works .div-3 { width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
.homepage-desktop .div-4,.homepage-desktop .div-5,.homepage-desktop .offset-column,.homepage-desktop .div-6 { width:100%; min-width:0; }
.homepage-desktop .text-wrapper-9,.homepage-desktop .text-wrapper-10,.homepage-desktop .text-wrapper-11,.homepage-desktop .text-wrapper-12 { width:100%; }
.homepage-desktop .all-projects,.homepage-desktop .all-projects .text-wrapper-13 {width:100%;}
.homepage-desktop .thumbnail-project,.homepage-desktop .project-title-and,.homepage-desktop .editorial-divider-2 { width:100%; }
.homepage-desktop .thumbnail-project {gap:18px; min-width:0;}
.homepage-desktop .project-title-and {flex:1;min-width:0;}
.homepage-desktop .text-wrapper-14,.homepage-desktop .text-wrapper-15 {width:100%; overflow-wrap:anywhere;}
.homepage-desktop .bio-and-experience {width:100%;display:grid;grid-template-columns:minmax(180px,350px) minmax(0,1fr); gap:clamp(24px,4vw,64px);}
.homepage-desktop .bilingual-biography,.homepage-desktop .experience,.homepage-desktop .rachie,.homepage-desktop .i-m-rachie-a-visual,.homepage-desktop .text-wrapper-17,.homepage-desktop .text-wrapper-18 {width:100%;}
.homepage-desktop .footer-identity-and {width:100%;gap:20px;}
.homepage-desktop .RACHIE-FU-VISUAL {width:auto;max-width:100%;}
.homepage-desktop .element-hero-studio-photo .VISUAL-DESIGNER,
.homepage-desktop .element-hero-studio-photo .MAKING-IDEAS-LOOK,
.homepage-desktop .element-hero-studio-photo .text-wrapper-4,
.homepage-desktop .element-hero-studio-photo .editorial-divider,
.homepage-desktop .element-selected-works .p,
.homepage-desktop .element-selected-works .text-wrapper-6,
.homepage-desktop .element-selected-works .div-2,
.homepage-desktop .element-about-me .p,
.homepage-desktop .element-about-me .text-wrapper-6,
.homepage-desktop .element-contact .text-wrapper-19,
.homepage-desktop .element-contact .HAVE-AN-IDEA-LET-s,
.homepage-desktop .element-contact .text-wrapper-20,
.homepage-desktop .element-contact .a-project-in-mind-or,
.homepage-desktop .element-contact .SAY-HELLO,
.homepage-desktop .element-contact .contact-details-to {width:100%;}
.homepage-desktop .element-hero-studio-photo { background-position:center; }
.homepage-desktop .dead-by-daylight,.homepage-desktop .rabbit-base-replace,.homepage-desktop .uni-bakery-replace,.homepage-desktop .gaming-banners {width:100%;height:auto;aspect-ratio:640/370;}
.homepage-desktop .element-wasedakb-social,.homepage-desktop .element-ys-production,.homepage-desktop .element-bobstealer-gif,.homepage-desktop .element-uni-grocery-print,.homepage-desktop .element-culture-calendar,.homepage-desktop .element-knives-out,.homepage-desktop .element-womens-products,.homepage-desktop .element-triumph-home-bra {flex:0 0 32%;width:32%;height:auto;aspect-ratio:208/130;}
[data-project] { cursor:pointer; transition:opacity .2s ease; }
[data-project]:hover { opacity:.82; }
[data-project]:focus-visible {outline:3px solid #d91a68;outline-offset:5px;}
#project-dialog { width:min(1080px,calc(100% - 36px));max-width:1080px;max-height:calc(100dvh - 36px);padding:clamp(18px,3vw,36px);overflow-y:auto; }
.project-gallery { display:grid; grid-template-columns:32px minmax(0,1fr) 32px; align-items:center; gap:clamp(6px,1.4vw,16px); }
#project-image { display:block; width:100%; max-width:100%; height:auto; max-height:none; object-fit:contain; min-width:0; }
#prev-image,#next-image {width:32px;min-width:32px;min-height:44px;display:flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:#171717;font-size:34px;line-height:1;cursor:pointer;}
#prev-image:hover,#next-image:hover {color:#d91a68;}
#prev-image[hidden],#next-image[hidden] {visibility:hidden;display:block;pointer-events:none;}
#image-counter {margin:12px 0 30px;text-align:center;}
.project-summary {font-size:16px;line-height:1.8;}
.project-summary[hidden],#project-detail-01[hidden],#project-detail-02[hidden],#project-detail-03[hidden],#project-detail-04[hidden] {display:none;}
@media (max-width:900px) {
 .homepage-desktop .element-selected-works .div-3 { gap:22px; }
 .homepage-desktop .MAKING-IDEAS-LOOK {font-size:clamp(55px,9vw,112px);}
 .homepage-desktop .text-wrapper-6 {font-size:clamp(44px,7.8vw,88px);}
 .homepage-desktop .HAVE-AN-IDEA-LET-s {font-size:clamp(52px,8vw,112px);}
}
@media (max-width:600px) {
 html {scroll-padding-top:85px;}
 .homepage-desktop .navigation {min-height:72px;flex-wrap:wrap;gap:10px 12px;padding:16px 20px;}
 .homepage-desktop .navigation .text-wrapper {font-size:20px;}
 .homepage-desktop .TOP-WORK-ABOUT {gap:7px;}
 .homepage-desktop .TOP-WORK-ABOUT .div {font-size:10px;}
 .homepage-desktop .element-hero-studio-photo,.homepage-desktop .element-selected-works,.homepage-desktop .element-about-me,.homepage-desktop .element-contact {padding:40px 20px;}
 .homepage-desktop .element-hero-studio-photo {min-height:492px;padding-top:40px;gap:20px;}
 .homepage-desktop .MAKING-IDEAS-LOOK {font-size:clamp(46px,12.7vw,78px);width:100%;overflow-wrap:normal;}
 .homepage-desktop .text-wrapper-4 {font-size:clamp(21px,5vw,28px);}
 .homepage-desktop .intro-and-invitation,.homepage-desktop .text-wrapper-5,.homepage-desktop .hi-i-m-rachie-i-turn {width:100%;}
 .homepage-desktop .element-selected-works .div-3 {grid-template-columns:minmax(0,1fr);gap:35px;}
 .homepage-desktop .div-4,.homepage-desktop .div-5 {gap:10px;}
 .homepage-desktop .text-wrapper-6 {font-size:clamp(42px,10vw,65px);}
 .homepage-desktop .text-wrapper-10 {font-size:30px;}
 .homepage-desktop .all-projects .div-3 {gap:18px;}
 .homepage-desktop .thumbnail-project {gap:12px;}
 .homepage-desktop .element-wasedakb-social,.homepage-desktop .element-ys-production,.homepage-desktop .element-bobstealer-gif,.homepage-desktop .element-uni-grocery-print,.homepage-desktop .element-culture-calendar,.homepage-desktop .element-knives-out,.homepage-desktop .element-womens-products,.homepage-desktop .element-triumph-home-bra {flex:0 0 34%;width:34%;}
 .homepage-desktop .bio-and-experience {grid-template-columns:1fr;gap:20px;}
 .homepage-desktop .text-wrapper-16 {font-size:clamp(70px,22vw,120px);width:100%;}
 .homepage-desktop .YEARS-OF-MAKING {width:100%;}
 .homepage-desktop .HAVE-AN-IDEA-LET-s {font-size:clamp(46px,11vw,74px);}
 .homepage-desktop .footer-identity-and {flex-wrap:wrap;gap:20px;}
 #project-dialog {width:calc(100% - 18px);max-height:calc(100dvh - 18px);padding:20px 10px;}
 #project-dialog .dialog-header,#dialog-title,.project-description,.project-summary {margin-left:10px;margin-right:10px;}
 .project-gallery {grid-template-columns:22px minmax(0,1fr) 22px;gap:4px;}
 #prev-image,#next-image {min-width:22px;width:22px;font-size:28px;}
 #dialog-title {font-size:22px;}
}

.homepage-desktop .dead-by-daylight {background-image:none;background-repeat:no-repeat;background-size:cover;background-position:center;}
.homepage-desktop .rabbit-base-replace {background-image:none;background-repeat:no-repeat;background-size:cover;background-position:center;}
.homepage-desktop .uni-bakery-replace {background-image:none;background-repeat:no-repeat;background-size:cover;background-position:center;}
.homepage-desktop .gaming-banners {background-image:none;background-repeat:no-repeat;background-size:cover;background-position:center;}
.homepage-desktop .element-wasedakb-social {background-image:none;background-repeat:no-repeat;background-size:cover;background-position:center;}
.homepage-desktop .element-ys-production {background-image:none;background-repeat:no-repeat;background-size:cover;background-position:center;}
.homepage-desktop .element-bobstealer-gif {background-image:none;background-repeat:no-repeat;background-size:cover;background-position:center;}
.homepage-desktop .element-uni-grocery-print {background-image:none;background-repeat:no-repeat;background-size:cover;background-position:center;}
.homepage-desktop .element-culture-calendar {background-image:none;background-repeat:no-repeat;background-size:cover;background-position:center;}
.homepage-desktop .element-knives-out {background-image:none;background-repeat:no-repeat;background-size:cover;background-position:center;}
.homepage-desktop .element-womens-products {background-image:none;background-repeat:no-repeat;background-size:cover;background-position:center;}
.homepage-desktop .element-triumph-home-bra {background-image:none;background-repeat:no-repeat;background-size:cover;background-position:center;}


/* BobStealer (Project 07): two animated GIFs alongside each other, no carousel */
.project-gallery.is-gif-pair {
  display:block;
}
.project-gallery.is-gif-pair #project-image,
.project-gallery.is-gif-pair #prev-image,
.project-gallery.is-gif-pair #next-image { display:none !important; }
.project-gif-pair {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:center;
  justify-items:center;
  gap:clamp(8px,2vw,24px);
  width:100%;
  height:362px;
  overflow:hidden;
}
.project-gif-pair[hidden] {display:none !important;}
.project-gif-pair img {
  display:block;
  width:auto;
  max-width:100%;
  height:362px;
  max-height:362px;
  object-fit:contain;
  min-width:0;
}
#project-image[hidden], #image-counter[hidden] {display:none !important;}
/* Single-image galleries have no page counter or navigation buttons. */
.project-gallery:has(#project-image:not([hidden])) #prev-image[hidden],
.project-gallery:has(#project-image:not([hidden])) #next-image[hidden] {visibility:hidden;pointer-events:none;}

/* Preserve readable paragraphs and bullets in the Rabbit Base project description. */
#project-detail-02 .project-body p {margin:0 0 0.7em;}
#project-detail-02 .project-body ul {margin:0 0 0.7em;padding-left:1.45em;list-style:disc;}
#project-detail-02 .project-body li {margin:0.2em 0;}

#project-detail-04 .project-body p {margin:0 0 0.7em;}
#project-detail-04 .project-body ul {margin:0 0 0.7em;padding-left:1.45em;list-style:disc;}
#project-detail-04 .project-body li {margin:0.2em 0;}

/* Project 05: preserve readable paragraphs and design-point bullets. */
#project-detail-05[hidden] {display:none !important;}
#project-detail-05 .project-body p {margin:0 0 0.7em;}
#project-detail-05 .project-body ul {margin:0 0 0.7em;padding-left:1.45em;list-style:disc;}
#project-detail-05 .project-body li {margin:0.2em 0;}

/* Project 06: readable text and design rationale. */
#project-detail-06[hidden] {display:none !important;}
#project-detail-06 .project-body p {margin:0 0 0.7em;}
#project-detail-06 .project-body ul {margin:0 0 0.7em;padding-left:1.45em;list-style:disc;}
#project-detail-06 .project-body li {margin:0.2em 0;}

/* Project 07: readable bilingual description; the existing GIF pair remains unchanged. */
#project-detail-07[hidden] {display:none !important;}
#project-detail-07 .project-body p {margin:0 0 0.7em;}
#project-detail-07 .project-body ul {margin:0 0 0.7em;padding-left:1.45em;list-style:disc;}
#project-detail-07 .project-body li {margin:0.2em 0;}

/* Project 08: readable content while keeping its single-image gallery unchanged. */
#project-detail-08[hidden] {display:none !important;}
#project-detail-08 .project-body p {margin:0 0 0.7em;}
#project-detail-08 .project-body ul {margin:0 0 0.7em;padding-left:1.45em;list-style:disc;}
#project-detail-08 .project-body li {margin:0.2em 0;}

/* Project 09: editorial calendar story layout. */
#project-detail-09[hidden] {display:none !important;}
#project-detail-09 .project-body p {margin:0 0 0.7em;}
#project-detail-09 .project-body ul {margin:0 0 0.7em;padding-left:1.45em;list-style:disc;}
#project-detail-09 .project-body li {margin:0.2em 0;}

/* Project 10 — Knives Out promotional materials */
#project-detail-10[hidden] { display: none !important; }
#project-detail-10 .project-body p { margin: 0 0 0.7em; }
#project-detail-10 .project-body ul { margin: 0 0 0.7em; padding-left: 1.45em; list-style: disc; }
#project-detail-10 .project-body li { margin: 0.2em 0; }

/* Project 11 — Women's Products SNS Banner */
#project-detail-11[hidden] { display: none !important; }
#project-detail-11 .project-body p { margin: 0 0 0.7em; }
#project-detail-11 .project-body ul { margin: 0 0 0.7em; padding-left: 1.45em; list-style: disc; }
#project-detail-11 .project-body li { margin: 0.2em 0; }

/* Project 12 — Triumph Home Bra Product Catalog */
#project-detail-12[hidden] { display: none !important; }
#project-detail-12 .project-body p { margin: 0 0 0.7em; }
#project-detail-12 .project-body ul { margin: 0 0 0.7em; padding-left: 1.45em; list-style: disc; }
#project-detail-12 .project-body li { margin: 0.2em 0; }

/* ===== Final polish — v14 ===== */

/* Single-slide dialogs have no counter, so reserve breathing room below the artwork.
   BobStealer's two-GIF layout is explicitly exempt. */
#project-dialog.single-image:not(:has(.project-gallery.is-gif-pair)) .project-gallery {
  margin-bottom: 32px;
}
@media (max-width: 600px) {
  #project-dialog.single-image:not(:has(.project-gallery.is-gif-pair)) .project-gallery {
    margin-bottom: 28px;
  }
}

/* Slightly tighter running copy; keep separation before new headings. */
#project-dialog .project-description {
  line-height: 1.65;
}
#project-dialog .project-description .project-body {
  line-height: 1.65;
  margin-bottom: 26px;
}
#project-dialog .project-description .project-body-en {
  line-height: 1.65;
}
#project-dialog .project-description .project-intro {
  margin-bottom: 18px;
}
#project-dialog .project-description .project-about-title {
  margin-top: 32px;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  #project-dialog .project-description,
  #project-dialog .project-description .project-body,
  #project-dialog .project-description .project-body-en {
    line-height: 1.6;
  }
}

/* Desktop: bring BobStealer's GIFs together, while preserving their 362px display height. */
@media (min-width: 601px) {
  .project-gallery.is-gif-pair .project-gif-pair {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
  }
  .project-gallery.is-gif-pair .project-gif-pair img {
    flex:0 1 auto;
    max-width:calc((100% - 10px) / 2);
    height:362px;
    object-fit:contain;
  }
}

/* Match the mobile hero headline size to the selected-works headline. */
@media (max-width: 600px) {
  .homepage-desktop .MAKING-IDEAS-LOOK {
    font-size:clamp(42px,10vw,65px);
  }
}

/* UI-level copying deterrent only; not a substitute for protecting image files. */
body { -webkit-user-select:none; user-select:none; }
#contact-email {
  -webkit-user-select:text;
  user-select:text;
  cursor:text;
}


/* ===== v15: Mobile hero and Project 07 spacing ===== */
@media (max-width: 600px) {
  /* Respect the real mobile viewport so the hero fits below the navigation. */
  .homepage-desktop .element-hero-studio-photo {
    box-sizing: border-box;
    height: auto;
    min-height: max(0px, calc(100svh - 72px));
    padding: clamp(18px, 3svh, 28px) 20px;
    gap: clamp(10px, 1.7svh, 15px);
    justify-content: center;
  }
  .homepage-desktop .MAKING-IDEAS-LOOK {
    font-size: clamp(29px, 8.5vw, 40px);
    line-height: 1.06;
    margin: 0;
  }
  /* The original exported spans hard-code 132px independently of the H1.
     Override those as well; reducing the parent font alone isn't enough. */
  .homepage-desktop .MAKING-IDEAS-LOOK .span,
  .homepage-desktop .MAKING-IDEAS-LOOK .text-wrapper-3 {
    font-size: inherit;
    line-height: inherit;
  }
  .homepage-desktop .element-hero-studio-photo .text-wrapper-4 {
    font-size: clamp(17px, 4.5vw, 21px);
    line-height: 1.3;
  }
  .homepage-desktop .element-hero-studio-photo .intro-and-invitation {
    gap: 4px;
  }
  .homepage-desktop .element-hero-studio-photo .text-wrapper-5,
  .homepage-desktop .element-hero-studio-photo .hi-i-m-rachie-i-turn {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
  }
  .homepage-desktop .element-hero-studio-photo .SELECTED-WORKS {
    margin-top: 4px;
  }
}
@media (max-width: 600px) and (max-height: 700px) {
  .homepage-desktop .element-hero-studio-photo {
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 8px;
  }
  .homepage-desktop .MAKING-IDEAS-LOOK { font-size: clamp(27px, 8vw, 37px); }
  .homepage-desktop .element-hero-studio-photo .text-wrapper-5,
  .homepage-desktop .element-hero-studio-photo .hi-i-m-rachie-i-turn {
    font-size: 13px;
    line-height: 1.4;
  }
}
@media (min-width: 601px) {
  /* Project 07 has no counter, so insert spacing before the role and copy. */
  #project-dialog .project-gallery.is-gif-pair { margin-bottom: 32px; }
}

/* v16: Mobile typographic adjustments only. */
@media (max-width: 600px) {
  /* The previous 8.5vw headline looked too small. Make it roughly 3x larger,
     allowing natural word wrapping instead of clipping on narrow screens. */
  .homepage-desktop .MAKING-IDEAS-LOOK {
    font-size: clamp(72px, 23vw, 104px);
    line-height: 0.96;
    letter-spacing: -0.055em;
    overflow-wrap: normal;
    word-break: normal;
    max-width: 100%;
  }
  .homepage-desktop .MAKING-IDEAS-LOOK .span,
  .homepage-desktop .MAKING-IDEAS-LOOK .text-wrapper-3 {
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
  }
  /* Let the headline expand as needed while keeping content below readable. */
  .homepage-desktop .element-hero-studio-photo {
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 12px;
  }
  .homepage-desktop .all-projects .text-wrapper-13 {
    font-size: 17px;
    line-height: 1.4;
    letter-spacing: 0;
  }
}
@media (max-width: 600px) and (max-height: 700px) {
  .homepage-desktop .MAKING-IDEAS-LOOK {
    font-size: clamp(72px, 23vw, 104px);
  }
}

/* === v17: compact motion and accessible interaction === */
[data-project] { position:relative; opacity:1; transition:none; }
[data-project]:hover { opacity:1; }
[data-project] [data-thumbnail] { position:relative; overflow:hidden; isolation:isolate; transition:filter .28s ease; }
[data-project] [data-thumbnail]::after {
  content:"VIEW PROJECT ↗";
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background:rgba(19,19,19,.36); color:white; font:600 12px/1.4 Arial,sans-serif;
  letter-spacing:.14em; opacity:0; transform:translateY(3px);
  transition:opacity .25s ease,transform .25s ease;
  pointer-events:none;
}
@media (hover:hover) and (pointer:fine) {
 [data-project]:hover [data-thumbnail] {filter:brightness(.94)}
 [data-project]:hover [data-thumbnail]::after,
 [data-project]:focus-visible [data-thumbnail]::after {opacity:1;transform:translateY(0)}
}
#project-dialog::backdrop {background:rgba(0,0,0,.55);backdrop-filter:blur(3px)}
#project-dialog .project-description {line-height:1.62;}
#project-dialog .project-description .project-body,
#project-dialog .project-description .project-body-en {line-height:1.62;}
#project-dialog .project-description .project-about-title {margin-top:32px;}
#prev-image,#next-image {transition:color .18s ease,transform .18s ease;}
@media (hover:hover) {#prev-image:hover{transform:translateX(-3px)} #next-image:hover{transform:translateX(3px)}}
#prev-image:focus-visible,#next-image:focus-visible,#close-dialog:focus-visible,
[data-close-dialog]:focus-visible{outline:2px solid #d91a68;outline-offset:3px}
@media (prefers-reduced-motion:reduce) {
 [data-project] [data-thumbnail], [data-project] [data-thumbnail]::after,
 #prev-image,#next-image {transition:none!important;transform:none!important}
}


/* v18: subtle image-only zoom on mouse/trackpad hover.
   Keep the overlay label stationary, and clip the image within its card. */
@media (hover: hover) and (pointer: fine) {
  [data-project] [data-thumbnail]::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transform-origin: center;
    transition: transform 340ms cubic-bezier(.2,.7,.2,1);
    pointer-events: none;
    z-index: 0;
  }
  [data-project] [data-thumbnail]::after {
    z-index: 1;
  }
  [data-project]:hover [data-thumbnail]::before,
  [data-project]:focus-visible [data-thumbnail]::before {
    transform: scale(1.045);
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-project] [data-thumbnail]::before {
    transition: none !important;
    transform: none !important;
  }
}

/* v19: reliable image zoom. The background is owned by ::before, not by
   the original thumbnail box. Overlay caption stays at its normal size. */
[data-project] [data-thumbnail] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: none !important;
}
[data-project] [data-thumbnail]::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  background-image: var(--thumbnail-image, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 380ms cubic-bezier(.2,.7,.2,1);
  z-index: 0;
  pointer-events: none;
}
[data-project] [data-thumbnail]::after { z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  [data-project]:hover [data-thumbnail]::before,
  [data-project]:focus-visible [data-thumbnail]::before {
    transform: scale(1.065);
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-project] [data-thumbnail]::before { transition: none !important; transform: none !important; }
}

/* v20: real zoomable <img> inside every existing thumbnail.
   Previous pseudo-element attempts are deliberately disabled. */
[data-project] [data-thumbnail] { position:relative; overflow:hidden; isolation:isolate; }
[data-project] [data-thumbnail]::before { display:none !important; content:none !important; }
[data-project] [data-thumbnail] > img.portfolio-thumbnail-photo {
  display:block; position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center; z-index:0;
  transform:scale(1); transform-origin:center;
  transition:transform 400ms cubic-bezier(.2,.7,.2,1);
  pointer-events:none;
}
[data-project] [data-thumbnail]::after { z-index:2; }
@media (hover:hover) and (pointer:fine) {
  [data-project]:hover [data-thumbnail] > img.portfolio-thumbnail-photo,
  [data-project]:focus-visible [data-thumbnail] > img.portfolio-thumbnail-photo {
    transform:scale(1.09);
  }
}
@media (prefers-reduced-motion:reduce) {
  [data-project] [data-thumbnail] > img.portfolio-thumbnail-photo {
    transition:none !important;
    transform:none !important;
  }
}
