/* Reference lock: /38 media-first mobile; existing PC navigation and CMS preserved. */
body {
  --showcase-ink: #272422;
  --showcase-accent: #f0642b;
}
body:is(.developed, .preview-editorial) {
  font-family:
    "Pretendard Variable",
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--showcase-ink);
}
body:is(.developed, .preview-editorial) :is(h1, h2, h3) {
  letter-spacing: -0.035em;
  text-wrap: pretty;
  word-break: keep-all;
}
body:is(.developed, .preview-editorial)
  :is(.page-heading h1, .case-project-title, .faq-heading h1) {
  color: var(--showcase-ink);
  font-weight: 750;
}
body:is(.developed, .preview-editorial)
  :is(.preview-site-utility, .site-footer)
  :is(.preview-footer-legal, .footer-professional) {
  border: 0;
}
body:is(.developed, .preview-editorial)
  :is(.preview-site-utility, .site-footer)
  a:not(.button) {
  text-decoration: none;
  color: #48433f;
}
body:is(.developed, .preview-editorial)
  :is(.preview-site-utility, .site-footer)
  a:hover {
  text-decoration: underline;
}
.showcase-video {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #272422;
  border-radius: 12px;
  width: 100%;
}
.showcase-video-play {
  display: block;
  position: relative;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: none;
  color: white;
  cursor: pointer;
}
.showcase-video-play img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  background: #f0642b;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-size: 22px;
  padding-left: 3px;
  box-shadow: 0 2px 12px #0003;
}
.showcase-video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 12px;
  text-align: left;
  background: linear-gradient(transparent, #000b);
  font-size: 14px;
  font-weight: 600;
}
.showcase-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.showcase-video button:focus-visible,
.showcase-card:focus-visible {
  outline: 3px solid #165bb2;
  outline-offset: 4px;
}
body[data-showcase-home] .hero-photo {
  background: none;
}
body[data-showcase-home] .hero-photo > img {
  display: none;
}
.showcase-desktop-media {
  width: 100%;
}
.showcase-home-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.showcase-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #272422;
  text-decoration: none;
  overflow: hidden;
}
.showcase-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  height: auto;
}
.showcase-card small {
  color: #a54117;
  font-size: 12px;
  font-weight: 650;
  margin-top: 10px;
}
.showcase-card :is(h2, h3) {
  color: #272422;
  margin: 4px 0 0;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
}
.showcase-home-cases h3 {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.showcase-catalog {
  padding: 24px 0;
}
.showcase-count {
  font-size: 14px;
  color: #68605a;
  margin: 0 0 20px;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.showcase-load-more {
  display: block;
  min-height: 48px;
  padding: 10px 32px;
  margin: 32px auto 0;
  border: 1px solid #ccc3bb;
  border-radius: 8px;
  background: white;
  font: inherit;
  cursor: pointer;
}
.case-project[data-showcase-ready]
  :is(
    .case-project-panels,
    .case-empty-state,
    .mobile-case-discovery,
    .case-room-heading-row,
    .case-room-heading,
    .case-room-heading-line,
    .mobile-case-next
  ) {
  display: none !important;
}
.case-project[data-showcase-ready] #case-room-heading,
.case-project[data-showcase-ready] #case-room-all-link {
  display: none !important;
}
.showcase-detail {
  max-width: 960px;
  margin: 24px auto;
}
.showcase-detail h2 {
  font-size: 36px;
  line-height: 1.3;
  color: #272422;
  margin: 12px 0;
}
.showcase-detail h3 {
  font-size: 21px;
  margin: 28px 0 10px;
  color: #272422;
}
.showcase-detail p,
.showcase-detail blockquote {
  white-space: pre-line;
  font-size: 17px;
  line-height: 1.7;
}
.showcase-detail blockquote {
  border-left: 3px solid #f0642b;
  margin: 0;
  padding: 12px 20px;
  background: #fff7f0;
}
.showcase-detail-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
  margin-top: 28px;
}
.showcase-detail-photos figure {
  margin: 0;
}
.showcase-detail-photos img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.showcase-detail-photos figcaption {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.showcase-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 8px;
  background: #f0642b;
  color: white;
  font-weight: 700;
  text-decoration: none;
  margin-top: 24px;
}
.showcase-error {
  padding: 16px;
  background: #fff3e9;
}
.showcase-mobile-media,
.showcase-mobile-services,
.showcase-benefit-banner,
.showcase-mobile-faq,
.showcase-mobile-cases,
.showcase-comparison-heading {
  display: none;
}
body.developed
  :is(
    .showcase-catalog,
    .showcase-home-cases,
    .showcase-mobile-services,
    .showcase-mobile-faq
  )
  :is(h2, h3, a) {
  color: #272422;
  text-decoration: none;
}
body.developed .showcase-benefit-banner {
  color: #843813;
  background: #fff0df;
  text-decoration: none;
}
body.developed .showcase-primary {
  color: white;
}
body.developed[data-showcase-home] .showcase-video {
  position: relative;
  aspect-ratio: 16/9;
}
body.developed[data-showcase-home] .showcase-video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent !important;
}
body.developed[data-showcase-home] .showcase-video-play img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
}
body.developed[data-showcase-home] .showcase-video-caption {
  position: absolute;
  bottom: 0;
  color: white !important;
  background: linear-gradient(transparent, #000b) !important;
}
body.developed[data-showcase-home] .showcase-play-icon {
  background: #f0642b !important;
  color: white !important;
}
body.developed[data-showcase-home] .showcase-card h3 {
  color: #272422 !important;
}
@media (max-width: 760px) {
  body.developed[data-showcase-home]
    :is(.mobile-home-discovery, .mobile-home-context) {
    display: none !important;
  }
  body[data-showcase-home] .mobile-home {
    display: flex !important;
    flex-direction: column;
    gap: 0;
  }
  body[data-showcase-home] .mobile-home-welcome {
    display: contents !important;
  }
  body[data-showcase-home] .mobile-home-welcome > div:first-child {
    order: 1;
    margin: 24px 0 18px;
  }
  body[data-showcase-home] .mobile-home-welcome > div:first-child > p {
    font-size: 13px;
    color: #71675f;
    margin: 0 0 8px;
  }
  body[data-showcase-home] .mobile-home h1 {
    font-size: 30px !important;
    font-weight: 750;
    line-height: 1.25 !important;
    max-width: 280px;
    margin: 0 !important;
    color: #272422 !important;
  }
  body[data-showcase-home] .mobile-home-welcome > :is(img, figure) {
    display: none !important;
  }
  body[data-showcase-home] .mobile-evidence {
    order: 7;
    margin-top: 0 !important;
  }
  body[data-showcase-home] .mobile-evidence:before {
    content: none;
  }
  body.developed[data-showcase-home] .showcase-comparison-heading {
    display: block;
    order: 6;
    color: #272422 !important;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 750;
    margin: 28px 0 14px;
    letter-spacing: -0.03em;
  }
  body[data-showcase-home] .mobile-estimate-actions {
    order: 4;
    margin-top: 18px;
  }
  body[data-showcase-home] .mobile-home-shortcuts {
    display: none !important;
  }
  .showcase-benefit-banner {
    display: block;
    order: 0;
    margin: 0 -20px;
    padding: 12px 18px;
    font-size: 12px;
    font-weight: 650;
    text-align: center;
    background: #fff0df;
    color: #843813;
    text-decoration: none;
  }
  .showcase-mobile-media {
    display: block;
    order: 2;
  }
  .showcase-mobile-services {
    display: block;
    order: 3;
    margin-top: 24px;
  }
  body.developed[data-showcase-home]
    :is(.showcase-mobile-services, .showcase-mobile-faq, .showcase-mobile-cases)
    h2 {
    font-size: 21px;
    margin: 0 0 14px;
    color: #272422 !important;
    font-weight: 750;
  }
  .showcase-service-choices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .showcase-service-choice {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 16px 9px;
    border-radius: 10px;
    background: #f3f6ef;
    color: #272422;
    text-decoration: none;
  }
  .showcase-service-choice span {
    font-size: 13px;
    font-weight: 700;
    word-break: keep-all;
  }
  .showcase-service-choice small {
    font-size: 11px;
    color: #66645e;
  }
  .showcase-service-choice strong {
    font-size: 15px;
    letter-spacing: -0.025em;
    white-space: normal;
  }
  .showcase-service-choice strong .showcase-price-from {
    display: block;
    font-size: 12px;
    font-weight: 400;
    margin-top: 2px;
  }
  .showcase-price-note {
    display: block;
    font-size: 11px;
    color: #746b63;
    margin-top: 10px;
    line-height: 1.5;
  }
  .showcase-mobile-faq {
    display: block;
    order: 8;
    margin-top: 28px;
  }
  .showcase-mobile-cases {
    display: block;
    order: 5;
    margin-top: 28px;
  }
  body.developed[data-showcase-home] .showcase-service-choice {
    background: #f3f6ef !important;
  }
  body.developed[data-showcase-home]
    .showcase-service-choice
    :is(span, small, strong) {
    background: transparent !important;
  }
  .showcase-mobile-faq details {
    border-bottom: 1px solid #e9e4df;
    padding: 14px 0;
    font-size: 14px;
  }
  .showcase-mobile-faq summary {
    cursor: pointer;
    min-height: 24px;
    font-weight: 600;
  }
  .showcase-mobile-faq p {
    line-height: 1.6;
    color: #645c56;
  }
  .showcase-mobile-faq > a {
    display: inline-block;
    padding: 16px 0;
    color: #a54117;
    font-size: 13px;
  }
  .showcase-video {
    border-radius: 10px;
  }
  .showcase-home-cases {
    gap: 8px;
  }
  .showcase-home-cases h3 {
    font-size: 13px;
  }
  .showcase-home-cases small {
    font-size: 11px;
  }
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
  .showcase-card :is(h2, h3) {
    font-size: 15px;
  }
  .showcase-detail h2 {
    font-size: 26px;
  }
  .showcase-detail p,
  .showcase-detail blockquote {
    font-size: 15px;
  }
  .showcase-detail-photos {
    gap: 16px 8px;
  }
}
