/*
 * БагИра — единая типографическая система (2026-11-08).
 * Only the two approved families are used:
 *   Manrope: navigation, cards, labels, UI, text, legal and articles.
 *   Cormorant Garamond: hero, editorial headings, quotation and signature.
 *
 * Loaded LAST on all public pages to consolidate old typography overrides.
 * Does not affect CMS admin styles, photos, content, layout or SEO.
 */

/* ─── Tokens / basic text ──────────────────────────────────────────────── */
:root {
  --sans:"Manrope",Arial,sans-serif;
  --serif:"Cormorant Garamond",Georgia,serif;
  --bagira-fs-body:17px;
  --bagira-fs-small:13px;
  --bagira-fs-label:12px;
  --bagira-fs-section:clamp(54px,5vw,75px);
  --bagira-fs-page:clamp(66px,7.25vw,92px);
}
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body {
  font-family:var(--sans);
  font-size:var(--bagira-fs-body);
  font-weight:400;
  line-height:1.7;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
button,input,select,textarea { font-family:var(--sans); }
p { overflow-wrap:break-word; }
strong,b { font-weight:600; }

/* ─── Interface labels: small, crisp and consistently tracked ────────── */
.overline,
.light-overline,
.eyebrow,
.vertical-index,
.project-caption div > span,
.project-type,
.article-meta,
.form-top,
.consult-form label:not(.privacy-check),
.footer-modern-label,
.footer-modern-eyebrow {
  font-family:var(--sans);
  font-weight:600;
  letter-spacing:.10em;
  line-height:1.5;
}
.overline,.light-overline,.eyebrow {
  font-size:var(--bagira-fs-label);
  letter-spacing:.13em;
}
.vertical-index { font-size:12px; }
.text-arrow,.outline-light,.hero-text-link {
  font-family:var(--sans);
  font-size:13px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:.045em;
}
.site-header .desktop-nav a {
  font-family:var(--sans);
  font-size:14px;
  font-weight:600;
  letter-spacing:0;
  line-height:1.4;
}
.site-header .header-cta {
  font-family:var(--sans);
  font-size:13px;
  font-weight:700;
  line-height:1.35;
  letter-spacing:.035em;
}
.mobile-menu .mobile-menu-links a {
  font-family:var(--sans);
  font-size:18px;
  font-weight:600;
  line-height:1.35;
  letter-spacing:0;
}

/* ─── Hero: one serif display and one clear body style ────────────────── */
.hero .hero-inner h1 {
  font-family:var(--serif);
  font-size:clamp(74px,8vw,116px);
  font-weight:500;
  line-height:.92;
  letter-spacing:-.045em;
  overflow-wrap:break-word;
}
.hero .hero-inner h1 em {
  font:inherit;
  font-style:normal;
  letter-spacing:inherit;
}
.hero .hero-eyebrow {
  font-family:var(--sans);
  font-size:13px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:.11em;
}
.hero .hero-lead {
  font-family:var(--sans);
  font-size:clamp(16px,1.22vw,19px);
  font-weight:400;
  line-height:1.7;
  letter-spacing:0;
}
.hero .hero-buttons .btn,
.hero .hero-buttons .hero-text-link {
  font-family:var(--sans);
  font-size:14px;
  font-weight:600;
  line-height:1.4;
  letter-spacing:.035em;
}
.hero .ir-hero-socials .ir-social-chip {
  font-family:var(--sans);
  font-size:13px;
  font-weight:600;
  line-height:1.3;
  letter-spacing:0;
}
.hero > .hero-vertical {
  font-family:var(--sans);
  font-size:13px;
  font-weight:500;
  line-height:1.5;
  letter-spacing:.12em;
}
.hero .hero-scroll,.hero .hero-tag {
  font-family:var(--sans);
  font-size:12px;
  line-height:1.4;
}

/* ─── Editorial headings, shared rhythm ──────────────────────────────── */
.display,
.intro-copy .display,
.services-top .display,
.process-head .display,
.about-content .display,
.journal-heading .display,
.review-heading .display,
.faq-layout .display,
.consultation .consult-left .display,
#portfolio .section-head .display,
#reviews .review-heading .display,
#faq .faq-layout .display {
  font-family:var(--serif);
  font-size:var(--bagira-fs-section);
  font-weight:500;
  line-height:1.04;
  letter-spacing:-.029em;
  overflow-wrap:break-word;
  hyphens:auto;
}
.display i,.display em,
.quote-inner p i,
.contact-strip h2 i {
  font:inherit;
  font-style:normal;
  letter-spacing:inherit;
}
.intro-copy .display,
.about-content .display,
.process-head .display,
#portfolio .section-head .display,
#reviews .review-heading .display,
#faq .faq-layout .display {
  margin-top:9px;
  margin-bottom:15px;
}
#portfolio .section-head .display { font-size:clamp(53px,4.65vw,71px); }
#reviews .review-heading .display { font-size:clamp(48px,4.2vw,61px); }
#faq .faq-layout .display { font-size:clamp(47px,4.2vw,59px); }
.consultation .consult-left .display { font-size:clamp(49px,4.7vw,67px); }

/* Ordinary explanatory copy follows a single readable scale. */
.intro-copy > p,
.intro-copy p,
.section-head-copy,
#portfolio .section-head-copy,
.services-top > p,
.service-item p,
.step p,
.process .process-card p,
.about-text,
.about-disclaimer,
.review-heading > p,
#reviews .review-heading > p,
.faq-layout > div:first-child > p,
#faq .faq-layout > div:first-child > p,
.accordion details p,
#faq .accordion details > p,
.consultation .consult-left > p,
.contact-strip-bottom a,
.ir-blog-empty p {
  font-family:var(--sans);
  font-size:16px;
  font-weight:400;
  line-height:1.75;
  letter-spacing:0;
}
.intro-copy > p,
.about-text,
.consultation .consult-left > p { font-size:17px; }
.about-disclaimer {font-size:14px;line-height:1.6;}
#portfolio .section-head-copy {font-size:16px;line-height:1.7;}
.services-top > p {font-size:16px;line-height:1.75;}

/* The intentionally different photo caption retains its approved font.
   It is not a third typeface and remains below the collage on phones. */
#intro .intro-collage .image-note {
  font-family:var(--serif);
  font-size:21px;
  font-weight:600;
  line-height:1.17;
  letter-spacing:0;
}

/* ─── Cards: Manrope for clear, consistent readable names ────────────── */
.project-caption h3,
.service-item h3,
.journal-card h3,
.consult-form h3 {
  font-family:var(--sans);
  font-size:clamp(22px,2.05vw,28px);
  font-weight:600;
  line-height:1.3;
  letter-spacing:-.025em;
  overflow-wrap:break-word;
}
.project-caption h3 {font-size:clamp(23px,2vw,28px);}
.project-caption div > span,
.project-type,
.article-meta,
.journal-link,
.portfolio-bottom > span,
.service-num {
  font-family:var(--sans);
  font-size:12px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:.075em;
}
.service-item h3 {font-size:clamp(22px,1.95vw,27px);}
.service-item p {font-size:15px;line-height:1.65;}
.service-photo-line {font-family:var(--sans);font-size:12px;letter-spacing:.11em;}
.project-card .project-type {font-size:12px;}
.journal-card h3 {font-size:clamp(22px,1.95vw,27px);}
.filterbar .filter-btn,
#portfolio .filterbar .filter-btn,
#portfolio .filterbar .filter-btn .portfolio-filter-name {
  font-family:var(--sans);
  font-size:14px;
  font-weight:600;
  line-height:1.35;
  letter-spacing:0;
}
#portfolio .filterbar .filter-btn .portfolio-filter-count {
  font-family:var(--sans);
  font-size:11px;
  font-weight:700;
  line-height:1;
}

/* Process is an editorial list with serif headings and sans-serif copy. */
.process .process-card .process-number {font-family:var(--serif);font-size:31px;font-weight:500;line-height:1;}
.process .process-card h3 {
  font-family:var(--serif);
  font-size:clamp(27px,2.25vw,33px);
  font-weight:500;
  line-height:1.14;
  letter-spacing:-.015em;
}
.process .process-card p {font-size:15px;line-height:1.65;}

/* The owner's name is presented as a signature, but not an extra italic style. */
.about-signature {
  font-family:var(--serif);
  font-size:34px;
  font-weight:500;
  line-height:1.17;
  letter-spacing:-.016em;
  font-style:normal;
}
.about-image-note {font-family:var(--sans);font-size:12px;line-height:1.5;letter-spacing:.08em;}

/* A large display quote, not another body typeface. */
.quote-inner p,
.quote-banner .quote-inner p {
  font-family:var(--serif);
  font-size:clamp(47px,4.9vw,73px);
  font-weight:500;
  line-height:1.1;
  letter-spacing:-.028em;
}
.quote-inner > span:last-child {font-family:var(--sans);font-size:12px;letter-spacing:.1em;}

/* Reviews and FAQ: uncluttered, predictable hierarchy. */
#reviews .review-sample > p {
  font-family:var(--serif);
  font-size:clamp(27px,2.8vw,35px);
  font-weight:500;
  line-height:1.24;
  letter-spacing:-.013em;
}
#reviews .review-heading > p {font-size:16px;line-height:1.65;}
#reviews .review-author {font-family:var(--sans);font-size:14px;line-height:1.5;}
#reviews .review-author small {font-size:12px;}
#faq .accordion summary {
  font-family:var(--sans);
  font-size:16px;
  font-weight:600;
  line-height:1.42;
  letter-spacing:0;
}
#faq .accordion details > p {font-size:15px;line-height:1.62;}

/* ─── Consultation / footer ──────────────────────────────────────────── */
.consultation .consult-left > p {font-size:16px;line-height:1.7;}
.consultation .consult-form h3 {
  font-family:var(--serif);
  font-size:clamp(33px,3.1vw,43px);
  font-weight:500;
  line-height:1.1;
  letter-spacing:-.025em;
}
.consultation .consult-form label:not(.privacy-check) {
  font-family:var(--sans);
  font-size:12px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:.07em;
}
.consultation .consult-form input:not([type=checkbox]),
.consultation .consult-form textarea {
  font-family:var(--sans);
  font-size:16px;
  line-height:1.5;
}
.consultation .consult-form .privacy-check {font:400 13px/1.55 var(--sans);}
.consultation .consult-message-hint,.consultation .form-caption {font:400 12px/1.5 var(--sans);}
.contact-strip h2 {
  font-family:var(--serif);
  font-size:clamp(58px,7vw,92px);
  font-weight:500;
  line-height:1.02;
  letter-spacing:-.03em;
}
.footer.footer-modern .footer-modern-tagline {font:400 14px/1.65 var(--sans);}
.footer.footer-modern .footer-modern-headline a {
  font-family:var(--serif);
  font-size:clamp(32px,2.8vw,41px);
  font-weight:500;
  line-height:1.11;
  letter-spacing:-.02em;
}
.footer.footer-modern .footer-modern-nav-grid a {font:400 13px/1.6 var(--sans);}
.footer.footer-modern .footer-modern-phone-text strong {font:600 17px/1.35 var(--sans);}
.footer.footer-modern .footer-modern-bottom,
.footer.footer-modern .footer-modern-credit {font-family:var(--sans);font-size:11px;line-height:1.55;}
.footer.footer-modern .footer-modern-legal a,
.footer.footer-modern .footer-modern-legal .footer-modern-cookie-control {font-family:var(--sans);font-size:11px;line-height:1.55;}

/* ─── All internal pages ─────────────────────────────────────────────── */
.subpage-hero h1,
.subpage-hero.portfolio-page-hero h1 {
  font-family:var(--serif);
  font-size:var(--bagira-fs-page);
  font-weight:500;
  line-height:1.03;
  letter-spacing:-.035em;
  overflow-wrap:break-word;
  hyphens:auto;
}
.subpage-hero p,
.subpage-hero.portfolio-page-hero p {
  font-family:var(--sans);
  font-size:16px;
  font-weight:400;
  line-height:1.75;
  letter-spacing:0;
}
.subpage-hero .overline,
.portfolio-page-hero .portfolio-page-label {
  font-family:var(--sans);
  font-size:12px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:.13em;
}
.subpage-hero .back-link,
.portfolio-page-hero .portfolio-page-home {
  font-family:var(--sans);
  font-size:13px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:0;
}

/* Legal documents, project details and all future blog article bodies:
   No decorative serif accidentally inherited into long-form paragraphs. */
.subpage-content .article-body,
.subpage-content .article-body p,
.subpage-content .article-body > div,
.subpage-content .article-body li,
.article-body.ir-legal,
.article-body.ir-legal p,
.article-body.ir-legal li,
.ir-project-description p {
  font-family:var(--sans);
  font-size:16px;
  font-weight:400;
  line-height:1.8;
  letter-spacing:0;
  overflow-wrap:break-word;
}
.subpage-content .article-body h2,
.subpage-content .ir-project-description h2,
.ir-legal h2 {
  font-family:var(--serif);
  font-size:clamp(32px,3.1vw,43px);
  font-weight:500;
  line-height:1.16;
  letter-spacing:-.019em;
  overflow-wrap:break-word;
}
.subpage-content .article-body h3,
.article-body h3 {
  font-family:var(--sans);
  font-size:clamp(19px,1.7vw,23px);
  font-weight:600;
  line-height:1.4;
}
.subpage-content .page-note {font:400 13px/1.7 var(--sans);}
.subpage-content .ir-seo-related h2 {
  font-family:var(--serif);
  font-size:clamp(29px,2.7vw,38px);
  font-weight:500;
  line-height:1.12;
  letter-spacing:-.018em;
}
.subpage-content .ir-seo-related-grid a,
.subpage-content .ir-seo-related-more a {
  font-family:var(--sans);
  font-size:14px;
  font-weight:500;
  line-height:1.5;
}

/* Readable long-form text in the unpublished article template, too. */
.article-body .overline {font-family:var(--sans);font-size:12px;letter-spacing:.10em;}
.ir-article-faq .display {font-family:var(--serif);font-size:clamp(39px,3.8vw,57px);line-height:1.06;}
.ir-article-faq .accordion summary {font-family:var(--sans);font-size:16px;line-height:1.5;}
.ir-article-faq .accordion details > p {font-family:var(--sans);font-size:15px;line-height:1.7;}

/* Blog holding page and contextual link navigation. */
.ir-blog-empty h2 {
  font-family:var(--serif);
  font-size:clamp(35px,3.8vw,49px);
  font-weight:500;
  line-height:1.12;
  letter-spacing:-.024em;
}
.ir-blog-empty p {font-size:16px;line-height:1.75;}
.ir-seo-context-nav .ir-seo-context-heading h2 {
  font-family:var(--serif);
  font-size:clamp(35px,3.5vw,48px);
  font-weight:500;
  line-height:1.1;
  letter-spacing:-.022em;
}
.ir-seo-context-nav .ir-seo-context-heading p {
  font-family:var(--sans);
  font-size:15px;
  font-weight:400;
  line-height:1.7;
}
.ir-seo-context-nav .ir-seo-context-list a {
  font-family:var(--sans);
  font-size:13px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:0;
}

/* ─── Tablet ─────────────────────────────────────────────────────────── */
@media (max-width:970px) and (min-width:701px) {
  :root {
    --bagira-fs-section:clamp(51px,6.1vw,65px);
    --bagira-fs-page:clamp(55px,7.2vw,75px);
  }
  .hero .hero-inner h1 {font-size:clamp(65px,8.3vw,90px);}
  #portfolio .section-head .display {font-size:clamp(49px,5.7vw,62px);}
  .subpage-hero.portfolio-page-hero h1 {font-size:var(--bagira-fs-page);}
  .site-header .desktop-nav a {font-size:14px;}
}

/* ─── Phone ──────────────────────────────────────────────────────────── */
@media (max-width:700px) {
  :root {
    --bagira-fs-body:16px;
    --bagira-fs-section:clamp(39px,9.1vw,51px);
    --bagira-fs-page:clamp(43px,10.4vw,59px);
  }
  body {line-height:1.65;}
  .overline,.light-overline,.eyebrow {font-size:11px;line-height:1.45;letter-spacing:.11em;}
  .mobile-menu .mobile-menu-links a {font-size:17px;line-height:1.4;}
  .site-header .header-cta {font-size:13px;}
  .hero .hero-inner h1 {
    font-size:clamp(43px,10.6vw,65px);
    line-height:.97;
    letter-spacing:-.035em;
  }
  .hero .hero-eyebrow {font-size:11px;line-height:1.45;letter-spacing:.08em;}
  .hero .hero-lead {font-size:15px;line-height:1.62;}
  .hero .hero-buttons .btn,
  .hero .hero-buttons .hero-text-link {font-size:13px;line-height:1.45;}
  .hero .ir-hero-socials .ir-social-chip {font-size:12px;}
  .display,
  .intro-copy .display,
  .services-top .display,
  .process-head .display,
  .about-content .display,
  .journal-heading .display,
  .review-heading .display,
  .faq-layout .display,
  .consultation .consult-left .display,
  #portfolio .section-head .display,
  #reviews .review-heading .display,
  #faq .faq-layout .display {
    font-size:var(--bagira-fs-section);
    line-height:1.07;
    letter-spacing:-.023em;
  }
  #portfolio .section-head .display {font-size:clamp(40px,9.1vw,50px);}
  #reviews .review-heading .display {font-size:clamp(39px,8.7vw,48px);}
  #faq .faq-layout .display {font-size:clamp(39px,8.6vw,47px);}
  .consultation .consult-left .display {font-size:clamp(40px,8.6vw,49px);}
  .intro-copy p,
  .intro-copy > p,
  .section-head-copy,
  #portfolio .section-head-copy,
  .services-top > p,
  .about-text,
  .review-heading > p,
  #reviews .review-heading > p,
  #faq .faq-layout > div:first-child > p,
  .consultation .consult-left > p {font-size:15px;line-height:1.65;}
  .about-disclaimer {font-size:13px;line-height:1.6;}
  #intro .intro-collage .image-note {font-size:clamp(17px,4.8vw,20px);line-height:1.17;}
  .project-caption h3,
  .service-item h3,
  .journal-card h3 {
    font-family:var(--sans);
    font-size:clamp(20px,5.25vw,24px);
    font-weight:600;
    line-height:1.31;
  }
  .project-caption div > span,.project-type,.article-meta,.journal-link {font-size:11px;}
  .service-item p,.process .process-card p {font-size:14px;line-height:1.65;}
  #portfolio .filterbar .filter-btn,
  #portfolio .filterbar .filter-btn .portfolio-filter-name {
    font-size:13px;
    line-height:1.3;
  }
  #portfolio .filterbar .filter-btn .portfolio-filter-count {font-size:11px;}
  .process .process-card .process-number {font-size:29px;}
  .process .process-card h3 {font-size:clamp(24px,5.8vw,29px);line-height:1.15;}
  .about-signature {font-size:30px;line-height:1.14;}
  .quote-inner p,.quote-banner .quote-inner p {
    font-size:clamp(36px,8.6vw,49px);
    line-height:1.1;
  }
  #reviews .review-sample > p {font-size:clamp(25px,6.8vw,31px);line-height:1.25;}
  #reviews .review-author {font-size:13px;}
  #faq .accordion summary {font-size:15px;line-height:1.4;}
  #faq .accordion details > p {font-size:14px;line-height:1.6;}
  .consultation .consult-left > p {font-size:15px;}
  .consultation .consult-form h3 {font-size:clamp(31px,7.1vw,38px);line-height:1.12;}
  .consultation .consult-form label:not(.privacy-check) {font-size:12px;}
  .consultation .consult-form .privacy-check {font-size:12px;}
  .contact-strip h2 {font-size:clamp(44px,11vw,62px);line-height:1.06;}
  .subpage-hero h1,
  .subpage-hero.portfolio-page-hero h1 {
    font-size:var(--bagira-fs-page);
    line-height:1.04;
    letter-spacing:-.029em;
  }
  .subpage-hero p,
  .subpage-hero.portfolio-page-hero p {font-size:15px;line-height:1.65;}
  .subpage-hero .overline,.portfolio-page-hero .portfolio-page-label {font-size:11px;}
  .subpage-hero .back-link,.portfolio-page-hero .portfolio-page-home {font-size:12px;}
  .subpage-content .article-body,
  .subpage-content .article-body p,
  .subpage-content .article-body > div,
  .subpage-content .article-body li,
  .article-body.ir-legal,
  .article-body.ir-legal p,
  .article-body.ir-legal li,
  .ir-project-description p {
    font-family:var(--sans);
    font-size:15px;
    line-height:1.72;
  }
  .subpage-content .article-body h2,
  .subpage-content .ir-project-description h2,
  .ir-legal h2 {
    font-family:var(--serif);
    font-size:clamp(30px,7.5vw,37px);
    line-height:1.15;
  }
  .subpage-content .article-body h3,.article-body h3 {font-size:19px;line-height:1.4;}
  .subpage-content .page-note {font-size:12px;line-height:1.6;}
  .subpage-content .ir-seo-related h2 {font-size:clamp(29px,7vw,35px);}
  .ir-blog-empty h2 {font-size:clamp(33px,8vw,42px);}
  .ir-blog-empty p {font-size:15px;line-height:1.68;}
  .ir-seo-context-nav .ir-seo-context-heading h2 {font-size:clamp(33px,7.8vw,43px);}
  .ir-seo-context-nav .ir-seo-context-heading p {font-size:14px;line-height:1.65;}
  .ir-seo-context-nav .ir-seo-context-list a {font-size:12px;line-height:1.5;}
  .footer.footer-modern .footer-modern-headline a {font-size:clamp(32px,7.6vw,38px);}
  .footer.footer-modern .footer-modern-tagline {font-size:13px;line-height:1.6;}
  .footer.footer-modern .footer-modern-nav-grid a {font-size:13px;}
}
@media (max-width:380px) {
  :root {
    --bagira-fs-section:clamp(37px,10.2vw,40px);
    --bagira-fs-page:clamp(40px,10.8vw,45px);
  }
  .hero .hero-inner h1 {font-size:clamp(39px,11vw,43px);}
  #portfolio .section-head .display {font-size:clamp(38px,10vw,42px);}
  .project-caption h3,.service-item h3,.journal-card h3 {font-size:20px;}
  .subpage-hero.portfolio-page-hero h1 {font-size:var(--bagira-fs-page);}
  .contact-strip h2 {font-size:clamp(41px,11vw,46px);}
}
