/* İnci Nail Studio v2.8.1 — Editorial heading hierarchy.
 * Loaded after page/component styles to prevent conflicting heading sizes.
 * No external font request. Does not alter semantic H1–H6 tags.
 */
:root {
  --inci-type-h1: 56px;
  --inci-type-h2: 36px;
  --inci-type-h3: 26px;
  --inci-type-home-h2: 47px;
  --inci-type-ink: #31241f;
  --inci-type-accent: #b47868;
  --inci-type-font: 'Iowan Old Style','Baskerville','Bodoni MT',Georgia,'Times New Roman',serif;
}

/* Editorial forms with consistently toned tracking and optimal line wrapping. */
main :is(h1,h2,h3,h4,h5,h6):not(.screen-reader-text) {
  font-family:var(--inci-type-font);
  color:var(--inci-type-ink);
  text-rendering:optimizeLegibility;
  overflow-wrap:break-word;
  hyphens:manual;
}
main :is(h1,h2){font-weight:400;letter-spacing:-.038em;text-wrap:balance}
main :is(h3,h4){letter-spacing:-.022em;text-wrap:pretty}
main :is(h5,h6){letter-spacing:.012em}

/* The full-width, photo-led slider keeps its own hero sizing. */
main .inci-slider .inci-slide-title {
  font-family:var(--inci-type-font);
  line-height:.99;
  letter-spacing:-.047em;
  color:#221714;
}
main .inci-slider .inci-slide:not(.is-active) .inci-slide-title{color:#221714}

/* Refined scale for home sections, without modifying their cards or layout. */
main .section-heading h2,
main .inci-extra-heading h2,
main .inci-pricing-heading h2,
main .inci-section-intro h2 {
  font-size:clamp(31px,3.12vw,var(--inci-type-home-h2));
  line-height:1.105;
  letter-spacing:-.041em;
  font-weight:400;
  margin-bottom:10px;
}
main .about-copy h2 {
  font-size:clamp(30px,2.95vw,45px);
  line-height:1.09;
  letter-spacing:-.042em;
}
main .services-section .service-card h3,
main .inci-extra-section .inci-package-body h3,
main .inci-extra-section .inci-team-body h3,
main .inci-extra-section .inci-blog-body h3{
  font-family:var(--inci-type-font);
  letter-spacing:-.026em;
  line-height:1.22;
}
main .inci-pricing-section .inci-price-body h3{
  font-family:var(--inci-type-font);
  letter-spacing:-.024em;
  line-height:1.2;
}
/* White text must remain legible on dark photographic banners. */
main .cta-banner h2,
main .inci-booking-banner h2,
main .inci-interior-final h2 {
  color:#fff;
  letter-spacing:-.04em;
  line-height:1.11;
}

/* Interior page headings: significantly calmer than the previous huge serif. */
.inci-inner-v27 .inci-v27-heading h1,
.inci-inner-v27 .inner-heading h1,
.inci-inner-v27.inci-v28-layout .inci-v27-heading h1,
.inci-inner-v27.inci-v28-layout .inner-heading h1,
.inci-inner-v27.inci-interior .inci-interior-intro h1 {
  font-size:clamp(38px,3.75vw,var(--inci-type-h1));
  line-height:1.105;
  letter-spacing:-.043em;
  max-width:920px;
  margin:0 0 14px;
}
.inci-inner-v27 .inci-v27-section-heading h2,
.inci-inner-v27 .gallery-related .section-heading h2,
.inci-inner-v27.inci-gallery-detail-page .gallery-related .section-heading h2,
.inci-inner-v27 .inci-story-label h2,
.inci-inner-v27 .inci-section-intro h2,
.inci-inner-v27 .inci-location-copy h2,
.inci-inner-v27 .inci-contact-outro h2 {
  font-size:clamp(30px,2.55vw,42px);
  line-height:1.16;
  letter-spacing:-.038em;
  font-weight:400;
}
.inci-inner-v27 .inci-v27-detail-content h2,
.inci-inner-v27.inci-gallery-detail-page .gallery-detail-copy h2 {
  font-size:clamp(28px,2.5vw,40px);
  line-height:1.16;
  letter-spacing:-.036em;
}
.inci-inner-v27 .inci-v27-card-content :is(h2,h3),
.inci-inner-v27 .gallery-archive-info :is(h2,h3),
.inci-inner-v27 .inci-contact-card h3 {
  font-size:clamp(20px,1.56vw,25px);
  line-height:1.26;
  font-weight:500;
  letter-spacing:-.023em;
}
.inci-inner-v27 .inci-v28-sidebar-card h3 {
  font-size:23px;
  line-height:1.22;
  letter-spacing:-.025em;
}
.inci-inner-v27 .inci-v28-sidebar-cta h3 {font-size:21px}
.inci-inner-v27 .inci-v27-cta h2 {
  font-size:clamp(29px,2.45vw,40px);
  line-height:1.14;
  letter-spacing:-.036em;
}

/* WordPress editor content — H2 ... H6. The selectors are intentionally
 * stronger than Gutenberg's size utility classes so editor-pasted sizes do
 * not overwhelm the page header. All actual heading semantics are preserved.
 */
/* Gutenberg may contain an extra H1 with an inline 70px font-size.
 * On the public page it becomes an H2; this rule handles either tag and
 * wins over normal inline font sizes and Gutenberg size classes. */
.inci-inner-v27 .inci-v27-readable :is(h1,h2),
.inci-inner-v27 .inci-story-copy .entry-content :is(h1,h2) {
  font-size:clamp(27px,2.45vw,var(--inci-type-h2)) !important;
  line-height:1.28 !important;
  letter-spacing:-.03em !important;
  font-weight:400 !important;
  color:var(--inci-type-ink);
  margin:1.35em 0 .58em;
  max-width:100%;
  text-wrap:pretty;
}
.inci-inner-v27 .inci-v27-readable :is(h1,h2)::after,
.inci-inner-v27 .inci-story-copy .entry-content :is(h1,h2)::after {
  content:'';
  display:block;
  width:44px;
  height:2px;
  margin-top:12px;
  border-radius:99px;
  background:linear-gradient(90deg,var(--inci-type-accent),rgba(180,120,104,.22));
}
.inci-inner-v27 .inci-v27-readable h3,
.inci-inner-v27 .inci-story-copy .entry-content h3 {
  font-size:clamp(23px,1.75vw,var(--inci-type-h3)) !important;
  line-height:1.34;
  letter-spacing:-.026em;
  font-weight:600;
  color:var(--inci-type-ink);
  margin:1.35em 0 .55em;
}
.inci-inner-v27 .inci-v27-readable h4,
.inci-inner-v27 .inci-story-copy .entry-content h4 {
  font-size:clamp(19px,1.4vw,22px) !important;
  line-height:1.4;
  font-weight:600;
  letter-spacing:-.018em;
  margin:1.3em 0 .5em;
}
.inci-inner-v27 .inci-v27-readable h5,
.inci-inner-v27 .inci-story-copy .entry-content h5 {
  font-family:Arial,'Helvetica Neue',sans-serif;
  font-size:17px !important;
  line-height:1.46;
  font-weight:700;
  letter-spacing:.012em;
  margin:1.3em 0 .45em;
}
.inci-inner-v27 .inci-v27-readable h6,
.inci-inner-v27 .inci-story-copy .entry-content h6 {
  font-family:Arial,'Helvetica Neue',sans-serif;
  font-size:15px !important;
  line-height:1.5;
  font-weight:700;
  letter-spacing:.075em;
  text-transform:uppercase;
  color:#87665a;
  margin:1.3em 0 .45em;
}
.inci-inner-v27 .inci-v27-readable > :is(h1,h2,h3,h4,h5,h6):first-child,
.inci-inner-v27 .inci-story-copy .entry-content > :is(h1,h2,h3,h4,h5,h6):first-child {margin-top:0}
.inci-inner-v27 .inci-v27-readable :is(h1,h2,h3,h4,h5,h6) + p,
.inci-inner-v27 .inci-story-copy .entry-content :is(h1,h2,h3,h4,h5,h6) + p {margin-top:0}

/* Avoid a giant first editor heading or an excessive gap below the cover. */
.inci-inner-v27 .inci-v27-readable > :is(h1,h2):first-child,
.inci-inner-v27 .inci-v27-readable > .wp-block-group:first-child :is(h1,h2):first-child {
  margin-top:0 !important;
  margin-bottom:20px;
}

/* WordPress Gutenberg alignment is respected. */
.inci-inner-v27 .inci-v27-readable :is(h1,h2).has-text-align-center::after,
.inci-inner-v27 .inci-story-copy .entry-content :is(h1,h2).has-text-align-center::after{margin-inline:auto}
.inci-inner-v27 .inci-v27-readable :is(h1,h2).has-text-align-right::after,
.inci-inner-v27 .inci-story-copy .entry-content :is(h1,h2).has-text-align-right::after{margin-left:auto}

@media(max-width:900px){
  .inci-inner-v27 .inci-v27-heading h1,
  .inci-inner-v27 .inner-heading h1,
  .inci-inner-v27.inci-v28-layout .inci-v27-heading h1,
  .inci-inner-v27.inci-v28-layout .inner-heading h1,
  .inci-inner-v27.inci-interior .inci-interior-intro h1{
    font-size:clamp(34px,5.7vw,48px);
  }
}
@media(max-width:640px){
  main .section-heading h2,
  main .inci-extra-heading h2,
  main .inci-pricing-heading h2,
  main .inci-section-intro h2{font-size:clamp(28px,7vw,36px);line-height:1.13}
  .inci-inner-v27 .inci-v27-heading h1,
  .inci-inner-v27 .inner-heading h1,
  .inci-inner-v27.inci-v28-layout .inci-v27-heading h1,
  .inci-inner-v27.inci-v28-layout .inner-heading h1,
  .inci-inner-v27.inci-interior .inci-interior-intro h1 {font-size:clamp(32px,8vw,41px);line-height:1.14}
  .inci-inner-v27 .inci-v27-readable :is(h1,h2),
  .inci-inner-v27 .inci-story-copy .entry-content :is(h1,h2){font-size:clamp(25px,6vw,30px)!important}
  .inci-inner-v27 .inci-v27-readable h3,
  .inci-inner-v27 .inci-story-copy .entry-content h3{font-size:clamp(21px,5.4vw,24px)!important}
  .inci-inner-v27 .inci-v27-readable :is(h1,h2)::after,
  .inci-inner-v27 .inci-story-copy .entry-content :is(h1,h2)::after{margin-top:10px;width:36px}
  .inci-inner-v27 .inci-v27-section-heading h2{font-size:clamp(29px,6vw,36px)}
  .inci-inner-v27 .inci-v28-sidebar-card h3{font-size:21px}
}
