/* Shared reading system for the homepage and every service page.
   Nunito Sans retains the existing Blinkasa identity. The variable family
   supplies real weights; display emphasis never uses synthetic italics. */
/* cyrillic-ext */
@font-face {
  font-family: 'Blinkasa Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(./assets/fonts/nunito-sans-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Blinkasa Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(./assets/fonts/nunito-sans-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Blinkasa Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(./assets/fonts/nunito-sans-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Blinkasa Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(./assets/fonts/nunito-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Blinkasa Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(./assets/fonts/nunito-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --font-sans: 'Blinkasa Sans', 'Segoe UI', Arial, sans-serif;
  --text-small: .875rem;
  --text-ui: 1rem;
  --text-body: 1.125rem;
  --text-intro: clamp(1.25rem, 1.1rem + .45vw, 1.5rem);
  --text-title: clamp(2.125rem, 1.5rem + 2.2vw, 4rem);
  --text-display: clamp(2.75rem, 2rem + 3.3vw, 5.5rem);
  --text-ink: #263e4a;
  --text-muted: #344e5c;
  --text-accent: #38586a;
  --space-inline: clamp(1.25rem, 6vw, 7.5rem);
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text-ink);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.6;
  font-synthesis: none;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: #38586a26; }
h1, h2, h3, .brand {
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  letter-spacing: -.035em !important;
  text-wrap: balance;
  overflow-wrap: break-word;
}
em { font-family: inherit !important; font-style: normal !important; }
p { text-wrap: pretty; }
::selection { color: #eff2ec; background: #38586a; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #38586a;
  outline-offset: 5px;
}
.skip-link { position: fixed; z-index: 110; top: -8rem; left: 1rem; padding: .75rem 1rem; background: #eff2ec; color: var(--text-ink); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.eyebrow, .services .eyebrow, .sidewalk-copy .eyebrow,
.visit .copy .eyebrow, #inquiry-dialog .eyebrow, .detail-kicker {
  display: block;
  font-size: var(--text-small);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .065em;
  color: inherit;
  opacity: 1;
  margin: 0 0 1rem;
}
.nav nav, .page-nav nav { font-size: var(--text-ui); gap: 2rem; }
.nav nav a, .page-nav nav a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-demo, .soft-button, .pill, .cozy-demo .enter {
  font-family: var(--font-sans);
  font-size: var(--text-ui);
  font-weight: 700;
  line-height: 1.4;
  min-height: 48px;
  padding: .875rem 1.5rem;
  white-space: normal;
  text-align: center;
}
.nav-demo { color: var(--text-ink); border-color: #506e8080; background: #e6eef0ba; }
.film-title { top: 23%; max-width: 44rem; width: 42%; }
.film h1 { font-size: var(--text-display); line-height: 1.06; margin: 0 0 1.5rem; }
.film-title h1 em { color: var(--text-accent); }
.film-title .lede { max-width: 36ch; font-size: var(--text-body); line-height: 1.6; color: var(--text-ink); margin: 0 0 1.75rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; }
.hero-primary { border: 1px solid #263e4a; background: #263e4a; color: #eff2ec; border-radius: 2rem; cursor: pointer; }
.hero-primary:hover { background: #38586a; }
.hero-secondary { display: inline-flex; align-items: center; min-height: 48px; font-size: var(--text-ui); font-weight: 700; text-decoration: underline; text-underline-offset: .3em; }
.hero-primary:focus-visible { outline-color: #263e4a; }
.film-shade, .film.is-interior .film-shade { background: linear-gradient(90deg,#b9cbd4f5 0%,#b9cbd4df 25%,#b9cbd440 47%,transparent 65%); }
.tour-caption { max-width: 35rem; }
.film .tour-caption { color: var(--text-ink); }
.film .tour-caption h2 em { color: var(--text-accent); }
.film.is-interior .tour-caption { color: #eff2ec; }
.film.is-interior .tour-caption h2 em { color: #c6d9e6; }
h2, .tour-caption h2, .sidewalk-copy h2, .visit .copy h2,
.services-heading h2, .cozy-demo h2, .contact-section h2,
.home-questions h2, .about-3d h2 { font-size: var(--text-title); line-height: 1.12; margin: 0 0 1.5rem; }
.tour-caption .tour-description { font-size: var(--text-body) !important; line-height: 1.6; max-width: 32ch !important; }
.sidewalk-copy { max-width: 33rem; }
.sidewalk-copy > p:last-child, .copy p:not(.eyebrow), .visit .copy p:not(.eyebrow) { font-size: var(--text-body); line-height: 1.6; max-width: 36ch; opacity: 1; }
.sidewalk.is-measuring .sidewalk-copy { max-width: 32rem; }
.sidewalk.is-measuring .sidewalk-copy h2 { font-size: clamp(2rem, 1.4rem + 1.5vw, 3rem); }
.text-link, .visit .text-link, .about-3d-link { font-size: var(--text-ui); line-height: 1.5; padding-block: .5rem; min-height: 44px; }
.tour-footer > span, .stage-bottom, .control-label, .tour-footer .tour-hint,
.replay-chair { font-size: var(--text-small); line-height: 1.5; letter-spacing: .025em; }
.tour-footer > span { max-width: 17rem; opacity: 1; color: var(--text-ink); }
.film.is-interior .tour-footer > span { color: #eff2ec; }
.tour-footer .tour-hint { font-weight: 700; }
.stage-bottom { align-items: flex-end; }
.about-3d { display: block; padding: clamp(4rem, 7vw, 6rem) var(--space-inline); background: #edf2f2; color: var(--text-ink); }
.process-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: end; max-width: 75rem; margin: 0 auto 3rem; }
.about-3d .process-heading h2 { margin: 0; }
.process-heading > p { max-width: 39ch; margin: 0 0 .25rem; font-size: var(--text-body); line-height: 1.65; color: var(--text-muted); }
.project-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; list-style: none; margin: 0 auto; padding: 0; max-width: 75rem; }
.project-steps li { display: block; padding: 1.5rem 0 0; border-top: 1px solid #9bb0b9; }
.project-steps h3 { margin: 0 0 .75rem; font-size: 1.375rem; line-height: 1.3; letter-spacing: -.02em !important; }
.project-steps p { max-width: 34ch; margin: 0; font-size: var(--text-body); line-height: 1.65; color: var(--text-muted); }
.service-detail p, .home-questions details p, .services-heading > p,
.cozy-demo-copy > p:not(.eyebrow), .contact-section p { font-size: var(--text-body); line-height: 1.65; color: var(--text-muted); max-width: 60ch; }
.service-detail h3 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -.02em !important; margin: 0 0 .75rem; }
.services-heading { align-items: start; }
.services-heading > p { max-width: 30ch; margin: 0; }
.services .service-card, .services .service-card:hover, .services .service-card[aria-pressed=true] { min-width: 0; aspect-ratio: auto; min-height: 26rem; padding: 19rem .5rem 1rem; justify-content: flex-start; }
.services .service-art { height: 18rem; }
.services .card-title { font-size: 1.5rem; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.services .card-caption { font-size: var(--text-small); line-height: 1.5; color: var(--text-muted); opacity: 1; }
.services .service-card[aria-pressed=true] .card-title { border-color: #38586a; }
.service-detail { grid-template-columns: 1fr 1.4fr; gap: 1.5rem 3rem; }
.service-detail .soft-button { grid-column: 2; justify-self: start; }
.service-detail #service-note { font-size: var(--text-ui); color: var(--text-muted); opacity: 1; }
.service-guides { gap: .75rem 2rem; }
.service-guides a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-ui); line-height: 1.5; }
.services-extra, .services-extra button { font-size: var(--text-ui); line-height: 1.6; color: var(--text-muted); }
.services-extra button { min-height: 44px; font-weight: 700; }
.demo-postcard > span { font-size: var(--text-ui); line-height: 1.5; flex-wrap: wrap; }
.demo-postcard i { font-family: var(--font-sans); font-size: var(--text-small); font-style: normal; color: var(--text-muted); }
.cozy-demo-copy > p:not(.eyebrow) { max-width: 38ch; }
.cozy-demo small { font-size: var(--text-small); line-height: 1.6; color: var(--text-muted); }
.home-questions h2 { max-width: 22ch; }
.home-questions summary { font-size: var(--text-body); line-height: 1.5; min-height: 44px; }
.home-questions details p { margin-bottom: 0; }
.contact-section { align-items: start; flex-wrap: wrap; }
.contact-section > div:first-child { max-width: 46rem; }
.contact-section p { margin: 1.5rem 0 0; max-width: 42ch; }
.contact-actions { margin-top: 2rem; }
footer { flex-wrap: wrap; }
footer span, footer > a:last-child, footer > a, footer span { font-size: var(--text-small); line-height: 1.5; letter-spacing: 0; font-style: normal; color: var(--text-muted); }
footer > a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .3em; }
#inquiry-dialog { width: min(40rem, calc(100% - 2rem)); padding: 2rem; }
#inquiry-dialog h2 { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); line-height: 1.15; }
#inquiry-dialog .eyebrow { max-width: calc(100% - 3rem); }
.dialog-close { display: grid; place-items: center; width: 44px; height: 44px; font: 2rem/1 var(--font-sans); }
#inquiry-form { gap: 1.25rem; }
#inquiry-form label { font-size: var(--text-ui); line-height: 1.5; font-weight: 700; color: var(--text-ink); }
#inquiry-form input, #inquiry-form select, #inquiry-form textarea { font-size: var(--text-ui); font-weight: 400; line-height: 1.5; min-height: 48px; color: var(--text-ink); }
#inquiry-form .email-note, #inquiry-status { font-size: var(--text-small); line-height: 1.6; color: var(--text-muted); }
.loader-inner h2 { font-size: var(--text-title); }
.loader-inner .loader-message, .loader-skip, .loader-inner output { font-size: var(--text-ui); line-height: 1.5; }
.page-hero h1, .service-hero h1 { font-size: clamp(2.5rem, 1.8rem + 2.8vw, 4.5rem); line-height: 1.1; max-width: 18ch; }
.intro { font-size: var(--text-intro); line-height: 1.55; max-width: 45ch; }
.breadcrumbs, figcaption { font-size: var(--text-small); line-height: 1.6; }
.reading-layout > div { max-width: 65ch; min-width: 0; }
.story-section p { font-size: var(--text-body); line-height: 1.7; max-width: 65ch; }
.story-section h2 { font-size: clamp(1.75rem, 1.45rem + 1vw, 2.5rem); line-height: 1.2; }
.story-section h3 { font-size: 1.375rem; line-height: 1.3; }
.questions summary { font-size: var(--text-body); line-height: 1.5; min-height: 44px; }
.related a { font-size: 1.25rem; line-height: 1.4; }
.page-contact p { font-size: var(--text-body); line-height: 1.65; }
/* The comparison is part of the live production baseline. Keep its original
   images and slider behavior while applying the same reading system. */
.reference-proof { --proof-muted: var(--text-muted); --proof-ink: var(--text-ink); }
.reference-proof .eyebrow { font-size: var(--text-small); line-height: 1.5; letter-spacing: .065em; }
.reference-proof h2 { font-size: var(--text-title); line-height: 1.12; }
.reference-proof h2 em { color: var(--text-accent); }
.reference-proof__intro { font-size: var(--text-body); line-height: 1.6; max-width: 36ch; }
.reference-compare__label { font-size: var(--text-small); line-height: 1.4; padding: .5rem .75rem; }
.reference-proof__fallback, .reference-proof__review { font-size: var(--text-small); line-height: 1.6; }
@media (max-width: 1050px) {
  .film-title { width: 52%; }
  .services .service-card, .services .service-card:hover, .services .service-card[aria-pressed=true] { min-height: 25rem; padding-top: 18rem; }
  .services .service-art { height: 17rem; }
}
@media (max-width: 700px) {
  :root { --text-title: clamp(2.125rem, 1.75rem + 1.4vw, 2.75rem); --text-display: clamp(2.75rem, 2.2rem + 2.4vw, 3.5rem); }
  .nav { padding: 1rem 7%; }
  .nav nav { position: absolute; top: calc(100% - .25rem); left: 7%; right: 7%; display: flex; justify-content: space-between; gap: .75rem; font-size: var(--text-small); }
  .nav nav a { min-height: 40px; }
  .nav-demo { padding: .75rem 1rem; font-size: var(--text-small); min-height: 44px; max-width: 13rem; }
  .film .stage { min-height: 44rem; }
  .film-title { top: 9.5rem; left: 7%; right: 7%; width: auto; max-width: none; }
  .film h1 { font-size: var(--text-display); line-height: 1.08; margin-bottom: 1rem; }
  .film-title .eyebrow { font-size: .8125rem; letter-spacing: .035em; margin-bottom: .75rem; }
  .film-title .lede { max-width: 34ch; font-size: var(--text-body); line-height: 1.55; margin-bottom: 1.25rem; }
  .hero-actions { gap: .5rem 1rem; }
  .hero-primary { font-size: .9375rem; padding: .75rem 1rem; }
  .hero-secondary { font-size: .9375rem; }
  .film .film-shade, .film.is-interior .film-shade { background: linear-gradient(180deg,#b9cbd4fa 0%,#b9cbd4ed 33%,#b9cbd4b5 49%,#b9cbd420 72%,transparent); }
  .tour-caption { top: 8%; left: 7%; right: 7%; }
  .tour-caption .tour-description { max-width: 32ch !important; }
  .sidewalk-copy, .sidewalk.is-measuring .sidewalk-copy { top: 7%; max-width: none; left: 7%; right: 7%; }
  .sidewalk-copy h2, .sidewalk.is-measuring .sidewalk-copy h2 { font-size: var(--text-title); }
  .sidewalk-copy > p:last-child { font-size: var(--text-body); max-width: 34ch; }
  .visit .copy { top: 7%; }
  .visit .copy h2 { font-size: var(--text-title); }
  .visit .copy p:not(.eyebrow) { font-size: var(--text-body); max-width: 32ch; }
  .sidewalk .stage:before { background: linear-gradient(#b9cbd4f5,#b9cbd4d9 34%,#b9cbd455 50%,transparent 63%); }
  .tour-footer > span { display: none; }
  .stage-bottom { left: 7%; right: 7%; bottom: 5.5rem; padding-right: 0; font-size: var(--text-small); }
  .stage-bottom span:last-child { display: none; }
  .tour-footer { bottom: 5.5rem; }
  .about-3d, .services, .cozy-demo, .home-questions, .contact-section { padding: 4rem 7%; }
  .about-3d h2 { margin-bottom: 2rem; }
  .services-heading > p { margin-top: 1.5rem; max-width: 36ch; }
  .services .service-grid { gap: 1rem; }
  .services .service-card, .services .service-card:hover, .services .service-card[aria-pressed=true] { min-height: 21.5rem; padding: 13.5rem 0 1rem; }
  .services .service-art { height: 13rem; }
  .services .card-title { font-size: 1.25rem; }
  .services .card-caption { font-size: var(--text-small); }
  .service-detail { grid-template-columns: 1fr; gap: 1rem; }
  .service-detail .soft-button { grid-column: auto; }
  .service-detail p { font-size: var(--text-body); }
  .service-detail h3 { font-size: 1.5rem; }
  .cozy-demo-copy > p:not(.eyebrow) { font-size: var(--text-body); }
  .cozy-demo .enter { gap: 2rem; }
  .contact-section h2 { font-size: var(--text-title); }
  .page-nav { padding: 1rem 6%; flex-wrap: wrap; }
  .page-nav nav { gap: .75rem; flex-wrap: wrap; font-size: var(--text-small); }
  .page-nav .pill { font-size: var(--text-small); padding: .75rem 1rem; }
  .page-hero { padding: 2rem 7% 4rem; }
  .page-hero h1, .service-hero h1 { font-size: clamp(2.375rem, 1.9rem + 2vw, 3.25rem); }
  .reading-layout { padding: 3rem 7%; }
  .story-section p { font-size: var(--text-body); }
  .home-questions summary { font-size: var(--text-body); }
  #inquiry-dialog { padding: 2rem 1.25rem; }
}
@media (max-width: 360px) {
  .hero-actions { gap: .25rem 1rem; }
  .services .service-grid { grid-template-columns: 1fr; }
  .services .service-card, .services .service-card:hover, .services .service-card[aria-pressed=true] { min-height: 20rem; }
}
@media (min-width: 701px) and (max-height: 650px) {
  .film .stage { min-height: 42rem; }
  .film-title { top: 8rem; width: 55%; }
  .film h1 { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* The original, unfiltered Roofline identity matches Blinkasa's X profile. */
.brand .brand-roofline, .page-nav .brand img, .loader-inner > img { filter: none; }
.site-footer { padding: 2rem var(--space-inline); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; background: #f1f5f6; border-top: 1px solid #9bb0b94d; color: var(--text-ink); }
.site-footer .brand .brand-roofline { width: 80px; height: auto; }
.site-footer .footer-contact { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 2rem; }
.site-footer .footer-contact a { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-width: 44px; min-height: 44px; color: var(--text-ink); font: 600 1rem/1.5 var(--font-sans); text-decoration: none; }
.site-footer .footer-contact svg { display: block; width: 24px; height: 24px; flex: none; }
.site-footer .footer-contact a:hover { color: var(--text-accent); }
@media (max-width: 800px) {
  .about-3d .process-heading { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
  .about-3d .process-heading h2 { margin: 0; }
  .project-steps { grid-template-columns: 1fr; gap: 2rem; }
  .project-steps li { padding-top: 1.5rem; }
  .project-steps p { max-width: 52ch; }
}
@media (max-width: 440px) {
  .site-footer { align-items: flex-start; gap: 1.5rem; }
  .site-footer .footer-contact { gap: .5rem; }
}
