/* Typography refinement v1.1 — Studio.vn: same approved specification as 3D.com.vn, MoreDesign.vn and Design.com.vn.
   Scope: visual Page Builder canvas + native Theme pages. Does not alter editor toolbar,
   navigation, spacing, font family, image dimensions or source content. */
body.rvb-sunrise-shell,
.sunrise-builder-output,
body.sunrise-theme {
  --type--h1:78px;
  --type--h2:49px;
  --type--h3:32px;
  --type--subtitle:25px;
  --type--body-big:21px;
  --type--body-regular:20px;
  --type--body-small:18px;
}
/* Source Webflow headings use both variables and fixed breakpoint sizes. */
.sunrise-builder-output h1,
.sunrise-builder-output .text-style-h1,
body.rvb-sunrise-shell h1,
body.rvb-sunrise-shell .text-style-h1 {
  font-size:clamp(42px,6.4vw,78px) !important;
  line-height:1.16;
  overflow-wrap:break-word;
}
.sunrise-builder-output h2,
.sunrise-builder-output .text-style-h2,
body.rvb-sunrise-shell h2,
body.rvb-sunrise-shell .text-style-h2 {
  font-size:clamp(30px,4.2vw,49px) !important;
  line-height:1.2;
  overflow-wrap:break-word;
}
.sunrise-builder-output h3,
.sunrise-builder-output .text-style-h3,
body.rvb-sunrise-shell h3,
body.rvb-sunrise-shell .text-style-h3 {
  font-size:clamp(23px,2.9vw,32px) !important;
  line-height:1.25;
  overflow-wrap:break-word;
}
.sunrise-builder-output .subtitle,
body.rvb-sunrise-shell .subtitle {
  font-size:clamp(19px,2.05vw,25px) !important;
  line-height:1.45;
}
.sunrise-builder-output .text-big,
body.rvb-sunrise-shell .text-big {
  font-size:clamp(21px,2.25vw,27px) !important;
  line-height:1.42;
}
.sunrise-builder-output .text-big-image,
body.rvb-sunrise-shell .text-big-image {
  font-size:clamp(30px,3.9vw,48px) !important;
  line-height:1.28;
}
.sunrise-builder-output .paragraph-big,
body.rvb-sunrise-shell .paragraph-big {
  font-size:clamp(19px,2.0vw,22px) !important;
  line-height:1.48;
}
/* Pages served by native WordPress theme, not the Sunrise Builder canvas. */
body.sunrise-theme .sunrise-page-head h1,
body.sunrise-theme .sunrise-single-head h1,
body.sunrise-theme .sunrise-404 h1,
body.sunrise-theme .picture-native-landing h1,
body.sunrise-theme .picture-page-heading {
  font-size:clamp(40px,6vw,74px) !important;
  line-height:1.12;
}
body.sunrise-theme .picture-native-landing > p:not(.picture-eyebrow),
body.sunrise-theme .sunrise-archive-desc {
  font-size:clamp(17px,1.7vw,20px) !important;
  line-height:1.55;
}
body.sunrise-theme .sunrise-card-title {
  font-size:clamp(24px,2.65vw,36px) !important;
}
body.sunrise-theme .sunrise-card-excerpt,
body.sunrise-theme .picture-page-deck {
  font-size:17px !important;
  line-height:1.55;
}
@media (max-width:767px) {
  .sunrise-builder-output h1,
  .sunrise-builder-output .text-style-h1,
  body.rvb-sunrise-shell h1,
  body.rvb-sunrise-shell .text-style-h1 {font-size:clamp(36px,8.7vw,54px) !important;line-height:1.15;}
  .sunrise-builder-output h2,
  .sunrise-builder-output .text-style-h2,
  body.rvb-sunrise-shell h2,
  body.rvb-sunrise-shell .text-style-h2 {font-size:clamp(28px,6.4vw,40px) !important;}
  .sunrise-builder-output .subtitle,
  body.rvb-sunrise-shell .subtitle {font-size:clamp(18px,4.7vw,21px) !important;}
  .sunrise-builder-output .text-big,
  body.rvb-sunrise-shell .text-big {font-size:clamp(19px,5vw,24px) !important;}
  .sunrise-builder-output .text-big-image,
  body.rvb-sunrise-shell .text-big-image {font-size:clamp(28px,7vw,39px) !important;}
}


/* ===========================================================================
 * Description scale v1.2 — 20% smaller than the immediately previous release.
 * Titles H1/H2/H3 remain EXACTLY as defined by the previous typography build.
 * No change to spacing, images, navigation, or Page Builder controls.
 * =========================================================================== */
body.rvb-sunrise-shell,
.sunrise-builder-output,
body.sunrise-theme {
  --type--subtitle:20px;            /* previously 25px */
  --type--body-big:16.8px;           /* previously 21px */
  --type--body-regular:16px;         /* previously 20px */
  --type--body-small:14.4px;        /* previously 18px */
}
/* Larger descriptive text, including the Hero subheading and introduction. */
.sunrise-builder-output .subtitle,
body.rvb-sunrise-shell .subtitle {font-size:clamp(15.2px,1.64vw,20px)!important;line-height:1.5;}
.sunrise-builder-output .text-big,
body.rvb-sunrise-shell .text-big {font-size:clamp(16.8px,1.8vw,21.6px)!important;line-height:1.5;}
.sunrise-builder-output .paragraph-big,
body.rvb-sunrise-shell .paragraph-big {font-size:clamp(15.2px,1.6vw,17.6px)!important;line-height:1.6;}
.sunrise-builder-output .paragraph-small,
body.rvb-sunrise-shell .paragraph-small {font-size:14.4px!important;line-height:1.6;}
/* The original source gives description roles different element names. */
.sunrise-builder-output .text-process-sticky,
body.rvb-sunrise-shell .text-process-sticky {font-size:17.6px!important;line-height:1.55;}
.sunrise-builder-output .text-moving-testimonial,
body.rvb-sunrise-shell .text-moving-testimonial {font-size:19.2px!important;line-height:1.55;}
.sunrise-builder-output .text-testimonial,
body.rvb-sunrise-shell .text-testimonial {font-size:22.4px!important;line-height:1.48;}
.sunrise-builder-output .text-project-detail,
body.rvb-sunrise-shell .text-project-detail,
.sunrise-builder-output .subtext-stat,
body.rvb-sunrise-shell .subtext-stat {font-size:16px!important;line-height:1.55;}
.sunrise-builder-output .faq-paragraph,
body.rvb-sunrise-shell .faq-paragraph {font-size:14px!important;line-height:1.6;}
.sunrise-builder-output .text-legal-footer,
body.rvb-sunrise-shell .text-legal-footer {font-size:14px!important;line-height:1.5;}
.sunrise-builder-output .text-position-small,
body.rvb-sunrise-shell .text-position-small {font-size:14px!important;line-height:1.5;}
/* Native Theme pages and archive cards: scale descriptions, never card titles. */
body.sunrise-theme .picture-native-landing > p:not(.picture-eyebrow),
body.sunrise-theme .sunrise-archive-desc {font-size:clamp(15px,1.36vw,16px)!important;line-height:1.62;}
body.sunrise-theme .sunrise-card-excerpt,
body.sunrise-theme .picture-page-deck {font-size:14px!important;line-height:1.6;}
body.sunrise-theme .sunrise-prose {font-size:clamp(15px,1.6vw,17.6px)!important;line-height:1.7;}
body.sunrise-theme .picture-single-content {font-size:clamp(14px,1.4vw,16px)!important;line-height:1.7;}
body.sunrise-theme .sunrise-404 p {font-size:17.6px!important;line-height:1.55;}
/* Keep tiny utility copy readable instead of reducing it below 12px. */
/* Very gentle title motion: clip reveal only, no font size or transform changes.
   Does not interfere with existing Webflow transform/opacity animations. */
@keyframes design-title-gentle-reveal {
  from {clip-path:inset(0 0 11% 0);}
  to {clip-path:inset(0 0 0 0);}
}
.sunrise-builder-output :is(h1,h2,h3,.picture-service-title),
body.rvb-sunrise-shell :is(h1,h2,h3,.picture-service-title),
body.sunrise-theme :is(.sunrise-native-main h1,.sunrise-native-main h2,.sunrise-native-main h3,.picture-native-landing h1,.picture-native-landing h2) {
  animation:design-title-gentle-reveal 750ms cubic-bezier(.22,.72,.28,1) both;
}
@media(max-width:767px) {
  .sunrise-builder-output .subtitle,
  body.rvb-sunrise-shell .subtitle {font-size:clamp(14.4px,3.76vw,16.8px)!important;}
  .sunrise-builder-output .text-big,
  body.rvb-sunrise-shell .text-big {font-size:clamp(15.2px,4vw,19.2px)!important;}
  .sunrise-builder-output .paragraph-big,
  body.rvb-sunrise-shell .paragraph-big {font-size:clamp(14.4px,3.8vw,17.6px)!important;}
  .sunrise-builder-output .faq-paragraph,
  body.rvb-sunrise-shell .faq-paragraph {font-size:14px!important;}
}
@media(prefers-reduced-motion:reduce) {
  .sunrise-builder-output :is(h1,h2,h3,.picture-service-title),
  body.rvb-sunrise-shell :is(h1,h2,h3,.picture-service-title),
  body.sunrise-theme :is(.sunrise-native-main h1,.sunrise-native-main h2,.sunrise-native-main h3,.picture-native-landing h1,.picture-native-landing h2) {animation:none!important;clip-path:none!important;}
}
