/* Comparison controls only: page section styles remain unchanged. */
html[data-hero-variant="off"] #dormur-contact .dq-intro-rule span {
  visibility: hidden;
}
#referenceFooter {
  display: block !important;
  position: relative;
  padding: 80px 24px;
  background: #000;
  color: #fff;
  font-family: 'Pretendard', sans-serif;
}
.reference-footer__inner { max-width: 1080px; margin: 0 auto; border-top: 2px solid #ffffff26; padding-top: 40px; }
.reference-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.reference-footer__logo { width: 180px; height: 46px; object-fit: contain; object-position: left center; filter: url(#header-logo-keycolor); }
.reference-footer__actions { display: flex; gap: 16px; }
.reference-footer__actions :is(a, button) { display: flex; align-items: center; justify-content: center; gap: 12px; width: 156px; height: 56px; border: 2px solid var(--header-logo-keycolor, #c8b576); border-radius: 999px; color: var(--header-logo-keycolor, #c8b576); font-size: 17px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.reference-footer__actions button { background: transparent; padding: 0; font-family: inherit; cursor: pointer; }
/* Temporarily hide the brochure button; retain its space for easy restoration. */
html[data-hero-variant="off"] .reference-footer__company-button { visibility: hidden; }
.reference-footer__actions :is(a, button):hover { background: var(--header-logo-keycolor, #c8b576); color: #080808; }
.reference-footer__actions :is(a, button):focus-visible { outline: 2px solid #c8b576; outline-offset: 5px; }
.reference-footer__company { padding: 24px; border: 1px solid #ffffff1a; border-radius: 12px; background: #ffffff05; }
.reference-footer__company h2 { margin: 0 0 14px; color: #fff; font-size: 18px; font-weight: 800; line-height: 1.5; }
.reference-footer__company dl { margin: 0; font-size: 14px; line-height: 1.6; }
.reference-footer__company dl > div { display: flex; }
.reference-footer__company dt { flex: 0 0 100px; color: #ffffff80; }
.reference-footer__company dd { margin: 0; color: #ffffffb3; overflow-wrap: anywhere; }
.reference-footer__company dd a { color: inherit; text-decoration: none; }
.reference-footer__company dd a:hover { color: #c8b576; text-decoration: underline; }
@media (max-width: 767px) {
  #referenceFooter { padding: 60px 20px 90px; }
  .reference-footer__inner { padding-top: 32px; }
  .reference-footer__top { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .reference-footer__logo { width: 140px; height: 36px; }
  .reference-footer__actions { width: 100%; gap: 12px; }
  .reference-footer__actions :is(a, button) { width: auto; flex: 1; height: 52px; font-size: 16px; }
  .reference-footer__company { padding: 20px 16px; }
  .reference-footer__company h2 { font-size: 16px; }
  .reference-footer__company dl { font-size: 13px; }
  .reference-footer__company dt { flex-basis: 90px; }
}
html[data-hero-variant="off"] #scIntro,
html[data-hero-variant="off"] #scKv { display: none !important; }
/* Revision only: retain the expertise copy without the service-card carousel. */
html[data-hero-variant="off"] #businessCarousel,
html[data-hero-variant="off"] #mainCardWrapper { display: none !important; }
html[data-hero-variant="off"] #mainStage { height: auto; }
html[data-hero-variant="off"] #scBusiness {
  position: relative;
  height: auto;
  padding-block: clamp(64px, 7vw, 120px);
}
html[data-hero-variant="off"] #scBusiness .business_title { margin-bottom: 0; }
/* Reference hero belongs only to the alternate version. */
html[data-hero-variant="off"] .reference-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 780px;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}
.reference-hero__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/assets/dormur-generated/medical-filming-hero-v2.png') center / cover no-repeat;
  filter: brightness(.6);
}
.reference-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 447px;
  z-index: -1;
  background: linear-gradient(to top, #080808, transparent);
  pointer-events: none;
}
.reference-hero__header,
.reference-hero__content { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.reference-hero__header { position: absolute; inset: 28px 0 auto; }
.reference-hero__header a { display: inline-block; }
.reference-hero__header img { display: block; width: 180px; height: auto; }
.reference-hero__content { display: flex; align-items: center; height: 100%; }
.reference-hero__content h1 {
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em;
  color: #fff;
  animation: referenceHeroEntrance 1s .3s both;
}
@keyframes referenceHeroEntrance {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
html[data-hero-variant="off"] .reference-hero__content .hero-copy-group {
  display: block;
}
/* Emphasize the studio story without changing its typography or geometry. */
html[data-hero-variant="off"] .reference-hero__content .hero-copy-highlight {
  color: #e5d69d;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
html[data-hero-variant="off"] .reference-hero__content .hero-copy-group + .hero-copy-group {
  margin-top: 1.1em;
}
html[data-hero-variant="off"] .reference-hero__content :is(.hero-copy-intro, .hero-copy-main, .hero-copy-support) {
  display: block;
}
html[data-hero-variant="off"] .reference-hero__content .hero-copy-intro {
  margin-bottom: 1.8em;
  font-size: .48em;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -.015em;
  color: #e1dfd9;
}
html[data-hero-variant="off"] .reference-hero__content .hero-copy-main {
  line-height: 1.3;
  letter-spacing: -.035em;
}
html[data-hero-variant="off"] .reference-hero__content .hero-copy-accent {
  color: #e5d69d;
}
html[data-hero-variant="off"] .reference-hero__content .hero-copy-support {
  margin-top: 1.5em;
  font-size: .48em;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -.015em;
  color: #e1dfd9;
}
html[data-hero-variant="off"] .hero-copy-mobile-break {
  display: none;
}
@media (max-width: 767px) {
  html[data-hero-variant="off"] .reference-hero__content :is(.hero-copy-intro, .hero-copy-support) {
    font-size: 14px;
    word-break: keep-all;
  }
  html[data-hero-variant="off"] .hero-copy-mobile-break { display: initial; }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .reference-hero__content h1 { font-size: 44px; }
}
@media (min-width: 768px) {
  html[data-hero-variant="off"] .reference-hero__content {
    position: relative;
    left: -24px;
    top: 40px;
  }
  .reference-hero__content {
    container-type: inline-size;
  }
  .reference-hero__content h1 {
    font-size: min(50px, 3.9cqw);
    white-space: nowrap;
  }
}
@media (max-width: 767px) {
  html[data-hero-variant="off"] .reference-hero { min-height: 600px; }
  .reference-hero::after { height: 300px; }
  .reference-hero__header { top: 24px; }
  .reference-hero__header img { width: 150px; }
  .reference-hero__content h1 { font-size: clamp(26px, 4.4vw, 34px); line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) {
  .reference-hero__content h1 { animation: none; }
}
/* Current colourways: match the side-card badges to the main-card arrow. */
html[data-hero-variant="off"] .expertise-copy-lines {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
  line-height: 2.4;
  letter-spacing: .02em;
}
html[data-hero-variant="off"] .expertise-copy-lines--center {
  text-align: center;
}
html[data-hero-variant="off"] .expertise-copy-lines strong {
  font-weight: 700;
}
html[data-preview-draft="3"] .sc_business .side_card .card_icon { display: none; }
html[data-preview-draft="3"] .sc_business .side_card .btn_more_circle { display: flex; opacity: 1; }
html:is([data-content-draft="2"], [data-content-draft="3"]) .shared_bg .draft-static-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.35);
}
html:is([data-content-draft="2"], [data-content-draft="3"]) .kv_bg .draft-static-image { object-position: 60% center; }
html[data-preview-draft="3"] .kv_bg .draft-static-image { object-position: 68% 28%; }
html:is([data-content-draft="2"], [data-content-draft="3"]) .kv_timeline { visibility: hidden; }
/* Draft 4 keeps only the logo, with its existing position and size. */
html:is([data-content-draft="2"], [data-content-draft="3"]) .header {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  pointer-events: none;
}
html:is([data-content-draft="2"], [data-content-draft="3"]) .header .header_logo { pointer-events: auto; }
html[data-preview-draft="3"] #header.dormur-reference-header {
  position: fixed !important;
  inset: 0 0 auto !important;
  height: auto;
  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  z-index: 1000;
}
html[data-preview-draft="3"] #header.dormur-reference-header.has-scroll-surface {
  background: rgba(0,0,0,.4) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: rgba(255,255,255,.1) !important;
}
html[data-preview-draft="3"] #header.dormur-reference-header .header_inner {
  box-sizing: border-box;
  width: min(1180px,100%);
  max-width: none;
  height: auto;
  margin-inline: auto;
  padding: 20px clamp(24px,5vw,56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
html[data-preview-draft="3"] #header.dormur-reference-header .header_logo {
  margin: 0;
  flex: 0 0 auto;
  width: 180px;
  height: 46px;
}
html[data-preview-draft="3"] #header.dormur-reference-header .header_logo a,
html[data-preview-draft="3"] #header.dormur-reference-header .header_logo img {
  width: 180px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}
html[data-preview-draft="3"] #header.dormur-reference-header .header-contact-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border: 2px solid var(--header-logo-keycolor, #c8b576);
  border-radius: 100px;
  background: transparent;
  font: 600 20px/1 'Pretendard',sans-serif;
  color: var(--header-logo-keycolor, #c8b576);
  pointer-events: auto;
  transition: color .2s ease, background-color .2s ease;
}
html[data-preview-draft="3"] #header .header-contact-link:hover { background: var(--header-logo-keycolor, #c8b576); color: var(--header-contact-ink, #080808); }
html[data-preview-draft="3"] #header .header-contact-link:focus-visible { outline: 2px solid var(--header-logo-keycolor, #c8b576); outline-offset: 4px; }
html[data-preview-draft="3"] #headerKv { display: none !important; }
html[data-preview-draft="3"] #dormur-contact { scroll-margin-top: 100px; }
@media(max-width:767px) {
  html[data-preview-draft="3"] #header.dormur-reference-header .header_logo,
  html[data-preview-draft="3"] #header.dormur-reference-header .header_logo a,
  html[data-preview-draft="3"] #header.dormur-reference-header .header_logo img { width: 140px; height: 36px; }
  html[data-preview-draft="3"] #header.dormur-reference-header .header-contact-link { padding: 10px 18px; font-size: 16px; }
}
html:is([data-content-draft="2"], [data-content-draft="3"]) .header > :not(.header_inner),
html:is([data-content-draft="2"], [data-content-draft="3"]) .header_inner > :not(.header_logo),
html:is([data-content-draft="2"], [data-content-draft="3"]) .mobile_menu,
html:is([data-content-draft="2"], [data-content-draft="3"]) .mobile_menu_dimmed { display: none !important; }
.content-draft-picker {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  border: 1px solid #d1d2d4;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 20px #0002;
  font: 600 13px/1.3 "Pretendard", sans-serif;
}
.content-draft-picker a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #161d27;
  text-decoration: none;
}
.content-draft-picker a[aria-current="page"] { background: #1444c4; color: #fff; }
.content-draft-picker a:focus-visible { outline: 2px solid #1444c4; outline-offset: 2px; }
@media (max-width: 767px) {
  .content-draft-picker { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .content-draft-picker a { padding: 9px 8px; font-size: 11px; }
}

/* Draft 3 only: conspicuous editorial placeholders, not final sections. */
#draft-insertion-1,
#draft-insertion-3,
#draft-insertion-4 {
  display: block !important;
  position: relative;
  z-index: 51;
  padding: 48px max(20px, 4.1667vw);
  background: #fff8ed;
}
#draft-insertion-4 { padding-bottom: 100px; }
.draft-insertion-panel {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 40px;
  border: 2px dashed #d97706;
  border-radius: 12px;
  background: #fffaf3;
  color: #382714;
  font-family: "Pretendard", sans-serif;
  text-align: left;
  word-break: keep-all;
}
.draft-insertion-label { display: flex; align-items: center; gap: 12px; color: #995008; font-size: 14px; font-weight: 700; }
.draft-insertion-label strong { padding: 5px 10px; background: #f5d9b5; border-radius: 999px; }
.draft-insertion-panel h2 { margin-top: 16px; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.3; font-weight: 700; }
.draft-insertion-position { margin-top: 16px; color: #995008; font-size: 16px; line-height: 1.5; font-weight: 600; }
.draft-insertion-description { max-width: 850px; margin-top: 12px; font-size: 18px; line-height: 1.65; }
.draft-insertion-note { margin-top: 24px; font-size: 13px; line-height: 1.5; color: #78644c; }
.dormur-business-source .draft-insertion-slide .biz-box { display: flex; align-items: center; justify-content: center; padding: 40px; background: #fff8ed; }
.draft-insertion-slide .draft-insertion { width: 100%; }
@media (max-width: 767px) {
  #draft-insertion-1, #draft-insertion-3, #draft-insertion-4 { padding: 28px 20px; }
  #draft-insertion-4 { padding-bottom: 90px; }
  .draft-insertion-panel { padding: 24px 20px; }
  .draft-insertion-description { font-size: 16px; }
  .draft-insertion-position { font-size: 14px; }
  .dormur-business-source .draft-insertion-slide .biz-box { padding: 14px; }
}
/* Keep one section gutter at the revised offer/production boundary. */
html[data-hero-variant="off"] #scFlower .planning-copy-layout .col_desc {
  text-align: left;
  letter-spacing: .02em;
  line-height: 2.5;
}
html[data-hero-variant="off"] .dormur-solutions-source .dormur-solutions-offer {
  padding-bottom: 0;
}

/* Remove the production guide from the revised variant only. */
html[data-hero-variant="off"] #scNetworkGlobal { display: none !important; }

/* Keep the actual footer alongside the pinned story on desktop. */
@media (min-width: 1025px) {
  html[data-hero-variant="off"] .flower-story-with-footer { display: flex; flex-direction: column; }
  html[data-hero-variant="off"] .flower-story-with-footer .flower_banner { height: clamp(390px, calc(100svh - 310px), 660px); }
  html[data-hero-variant="off"] .flower-story-with-footer .banner_col { padding-top: 32px; padding-bottom: 24px; }
  html[data-hero-variant="off"] .flower-story-with-footer #referenceFooter { padding: 20px 24px; }
  html[data-hero-variant="off"] .flower-story-with-footer .reference-footer__inner { padding-top: 16px; }
  html[data-hero-variant="off"] .flower-story-with-footer .reference-footer__top { margin-bottom: 12px; }
  html[data-hero-variant="off"] .flower-story-with-footer .reference-footer__company { padding: 12px 24px; }
  html[data-hero-variant="off"] #scFlower:has(.flower-story-with-footer) .flower_inner { padding-bottom: 0; }
}

/* Revised mobile layout only; desktop and the original variant are preserved. */
@media (max-width: 767px) {
 html[data-hero-variant="off"] .reference-hero__content { padding-block:110px 64px; box-sizing:border-box; }
 html[data-hero-variant="off"] .reference-hero__content h1 { font-size:clamp(24px,6.4vw,30px); line-height:1.5; word-break:keep-all; overflow-wrap:break-word; }
 html[data-hero-variant="off"] .reference-hero { height:auto; min-height:max(640px,100svh); display:flex; align-items:center; }
 html[data-hero-variant="off"] #header.dormur-reference-header .header-contact-link { min-height:44px; box-sizing:border-box; }
 html[data-hero-variant="off"] .dormur-business-source .biz-title { font-size:clamp(26px,7vw,32px); word-break:keep-all; }
 html[data-hero-variant="off"] .dormur-business-source .biz-desc { font-size:15px; line-height:1.8; word-break:keep-all; }
 html[data-hero-variant="off"] .dormur-solutions-service-copy h3 { font-size:20px; line-height:1.5; word-break:keep-all; }
 html[data-hero-variant="off"] .dormur-solutions-service-copy p { font-size:15px; line-height:1.85; text-wrap:pretty; }
 html[data-hero-variant="off"] .expertise-copy-lines { width:100%; line-height:1.85; letter-spacing:0; overflow-wrap:break-word; }
 html[data-hero-variant="off"] .expertise-copy-lines br { display:block; content:""; margin-bottom:10px; }
 html[data-hero-variant="off"] .dormur-solutions-services { gap:56px; }
 html[data-hero-variant="off"] .dormur-solutions-tags { gap:8px; }
 html[data-hero-variant="off"] .dormur-solutions-tags span { font-size:12px; padding:8px 10px; }
 html[data-hero-variant="off"] #dormur-original-comparison .comparison-cards { width:calc(100% - 40px); display:flex; flex-direction:column; gap:20px; }
 html[data-hero-variant="off"] #dormur-original-comparison .comparison-card { width:100%; margin:0; box-sizing:border-box; }
 html[data-hero-variant="off"] #dormur-original-comparison .comparison-card h3 { font-size:18px; line-height:1.5; padding:16px; }
 html[data-hero-variant="off"] #dormur-original-comparison .comparison-card ul { font-size:15px; padding:20px; }
 html[data-hero-variant="off"] #dormur-original-comparison .comparison-card li { line-height:1.7; }
 html[data-hero-variant="off"] #scFlower .flower_banner { height:auto; }
 html[data-hero-variant="off"] #scFlower .banner_cols { height:auto; }
 html[data-hero-variant="off"] #scFlower .banner_col { height:auto; flex:auto; padding:32px 24px; gap:20px; justify-content:flex-start; }
 html[data-hero-variant="off"] #scFlower .banner_col .col_top { max-height:none; opacity:1; overflow:visible; pointer-events:auto; }
 html[data-hero-variant="off"] #scFlower .banner_col .col_title { font-size:30px; opacity:1; line-height:1.3; }
 html[data-hero-variant="off"] #scFlower .col_desc { font-size:15px; line-height:1.8; word-break:keep-all; }
 html[data-hero-variant="off"] #scFlower .planning-copy-layout .col_desc { line-height:1.8; }
 html[data-hero-variant="off"] #referenceFooter { padding:40px 0 48px; }
 html[data-hero-variant="off"] .reference-footer__company-button { display:none; }
 html[data-hero-variant="off"] .reference-footer__company dl > div { display:block; }
 html[data-hero-variant="off"] .reference-footer__company dl > div + div { margin-top:14px; }
 html[data-hero-variant="off"] .reference-footer__company dd { margin-top:4px; font-size:14px; line-height:1.7; }
 html[data-hero-variant="off"] #dormur-contact .dq-field :is(input,textarea,select) { font-size:16px; }
}
