/* Art direction from the user's explicit Rialto reference.
   Full-bleed photography, narrow display type, a centered outline wordmark,
   a single dark palette and cobalt actions. Base controls live in style.css. */
@font-face { font-family: 'Oswald'; src: url('../assets/oswald.ttf') format('truetype'); font-weight: 200 700; font-display: swap; }
:root, :root[data-theme='dark'] {
  color-scheme: dark;
  --surface: #101112;
  --surface-soft: #151719;
  --text: #f4f4f2;
  --muted: #aeb0b4;
  --line: #424446;
  --accent: #2453da;
  --on-accent: #f7f8fc;
  --field: #191b1e;
  --error: #f0b3ac;
}
body { font-size: 15px; }
a:hover { color: var(--text); }
.header { position: fixed; left: 0; right: 0; height: 76px; display: grid; grid-template-columns: 1fr 230px 1fr; gap: 35px; padding-inline: 48px; background: rgb(12 14 17 / .82); backdrop-filter: blur(16px); border-bottom-color: rgb(244 244 242 / .25); }
.brand { justify-self: center; text-align: center; font-size: 29px; line-height: 1; font-weight: 400; letter-spacing: 2.5px; text-transform: uppercase; }
.brand > span { color: transparent; -webkit-text-stroke: .7px #f4f4f2; }
.brand-second { font-size: 9px; letter-spacing: 6px; margin-top: 7px; color: var(--text); -webkit-text-stroke: 0; }
.desktop-nav { margin: 0; font-size: 12px; gap: 38px; }
.nav-left { justify-content: space-evenly; }
.header-right { display: flex; justify-content: space-between; gap: 26px; align-items: center; }
.nav-right { gap: 33px; }
.header-cta { min-height: 38px; padding: 10px 16px; font-size: 10px; letter-spacing: .5px; gap: 18px; }
.button { font-size: 12px; letter-spacing: .35px; }
.hero { position: relative; min-height: 700px; height: 100dvh; overflow: hidden; background: #171819; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(9 13 17 / .1) 30%, rgb(9 13 17 / .45) 72%, rgb(9 13 17 / .68)); pointer-events: none; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo img { height: 100%; object-position: center 50%; }
.hero-intro { position: absolute; bottom: 54px; left: 0; right: 0; display: block; text-align: center; padding: 0; z-index: 1; }
.hero .eyebrow { font-size: 11px; letter-spacing: 2.4px; margin-bottom: 20px; }
h1, h2 { font-family: 'Oswald', 'Arial Narrow', sans-serif; text-transform: uppercase; font-weight: 600; letter-spacing: -.035em; }
h1 { font-size: clamp(70px, 8.45vw, 142px); line-height: 1.05; white-space: nowrap; }
.hero-aside { padding: 0; margin-top: 25px; }
.hero-aside p { font-size: 13px; line-height: 1.6; margin: 0; }
.hero-mobile-cta { display: none; }
.service-strip { grid-template-columns: 1.3fr 1fr 1fr .8fr; padding-block: 26px; border-color: var(--line); }
.service-strip p { font-size: 11px; color: var(--muted); }
.service-strip a { font-size: 12px; }
.section { padding-block: 120px; }
.section-heading { text-align: center; margin-bottom: 70px; }
.section-heading > p { max-width: 540px; margin: 25px auto 0; font-size: 14px; }
h2 { font-size: clamp(60px, 7vw, 104px); line-height: 1.1; }
.furniture-section { display: grid; grid-template-columns: 1fr 1.15fr; column-gap: 6%; padding-block: 35px; margin-top: 80px; border-block: 1px solid var(--line); }
.furniture-section .section-heading { grid-column: 1; grid-row: 1; text-align: left; margin-bottom: 30px; }
.furniture-section .section-heading h2 { font-size: clamp(50px, 4.4vw, 68px); }
.furniture-section .section-heading > p { margin: 22px 0 0; max-width: 420px; }
.furniture-layout { display: contents; }
.furniture-list { grid-column: 1; grid-row: 2; }
.category-preview { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; display: flex; flex-direction: column; }
.furniture-item h3 button { font-size: 30px; font-weight: 400; padding-block: 25px; }
.furniture-item.is-active h3 button, .furniture-item.is-active h3 button span { color: var(--text); }
.furniture-item.is-active h3 button span { transform: none; }
.category-preview img { flex: 1; min-height: 580px; height: 100%; }
.category-preview figcaption { font-size: 11px; padding-top: 16px; }
.projects-section { padding-top: 30px; }
.projects-section .section-heading h2 { color: #426ffa; }
.project-toolbar { margin-bottom: 15px; }
.filters button.is-active { border-color: var(--text); }
.project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.project-tall, .project-materials { margin-top: 0; width: 100%; grid-column: auto; }
.project-open img, .project-tall img, .project-materials img { height: 460px; }
.project-open img { object-position: 52% center; }
.project-tall img { object-position: 65% center; }
.project-materials img { object-position: 46% center; }
.project-caption { flex-direction: column; align-items: start; gap: 8px; padding-top: 18px; }
.project-caption h3 { font-size: 17px; }
.project-caption p { font-size: 11px; }
.concept-note { max-width: 760px; font-size: 11px; margin-top: 30px; }
.measurement-section { position: relative; background: #17191a url('../assets/hallway-concept.webp') center 54% / cover no-repeat; padding-block: 125px; }
.measurement-section::before { content: ''; position: absolute; inset: 0; background: rgb(5 10 15 / .72); pointer-events: none; }
.measurement-layout { position: relative; display: block; text-align: center; }
.measurement-title .eyebrow { letter-spacing: 2px; font-size: 11px; margin-bottom: 26px; }
.measurement-title h2 { font-size: clamp(65px, 8vw, 116px); }
.measurement-title .button { margin-top: 35px; }
.measurement-copy { max-width: 520px; margin: 32px auto 0; padding: 0; }
.measurement-copy .large-copy { display: none; }
.measurement-copy > p:not(.large-copy) { font-size: 13px; color: #dfdfdf; margin-bottom: 17px; }
.measurement-copy .text-link { margin-top: 4px; font-size: 12px; }
.process-list { gap: 36px; }
.process-list h3 { font-size: 19px; }
.calculate-section { padding-top: 110px; grid-template-columns: 1fr 1fr; gap: 11%; }
.calculate-intro h2 { font-size: clamp(60px, 5.8vw, 84px); }
.calculate-intro > p { max-width: 350px; }
.type-options span { padding: 12px 14px; }
.faq-section { padding-top: 0; grid-template-columns: 1fr 1fr; gap: 11%; }
.faq-section h2 { font-size: clamp(52px, 5vw, 76px); }
.footer { padding-top: 85px; background: var(--surface); border-top: 1px solid var(--line); }
.footer-top { grid-template-columns: 1.25fr 1fr; }
.footer h2 { font-size: clamp(60px, 6vw, 90px); }
.footer-address { padding-top: 14px; }
.footer-phone { font-size: 25px; margin-top: 30px; }
.footer-wordmark { font-size: clamp(52px, 8vw, 124px); text-transform: uppercase; font-weight: 400; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px var(--text); text-align: center; padding-top: 100px; padding-bottom: 55px; }
.footer-bottom { font-size: 10px; }
.project-dialog h2 { font-size: 45px; }
.request-dialog h2 { font-size: 47px; }
.request-dialog .eyebrow { margin-bottom: 20px; }
.type-options input:checked + span { background: var(--text); color: var(--surface); border-color: var(--text); }
.measurement-check input { accent-color: var(--text); }
:focus-visible { outline-color: #a4b8ff; }
.type-options input:focus-visible + span { outline-color: #a4b8ff; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline-color: #a4b8ff; }
@media (min-width: 1600px) { .header { padding-inline: 60px; } }
@media (max-width: 1279px) {
  .header { grid-template-columns: 1fr 195px 1fr; gap: 25px; padding-inline: 30px; }
  .brand { font-size: 24px; }
  .desktop-nav { gap: 25px; font-size: 11px; }
  .header-right { gap: 20px; }
  .nav-right { gap: 20px; }
  .header-cta { padding-inline: 12px; font-size: 9px; gap: 9px; }
  .project-open img, .project-tall img, .project-materials img { height: 410px; }
  .category-preview img { min-height: 620px; }
}
@media (max-width: 1023px) {
  .header { grid-template-columns: 1fr 180px 1fr; padding-inline: 25px; gap: 20px; height: 70px; }
  .desktop-nav { gap: 18px; font-size: 10px; }
  .desktop-nav a:nth-child(3) { display: inline-block; }
  .nav-left a:last-child, .nav-right a:first-child { display: none; }
  .brand { font-size: 23px; }
  .header-right { gap: 15px; }
  .header-cta { min-height: 35px; }
  h1 { font-size: 8.45vw; }
  .hero { min-height: 640px; }
  .hero-intro { bottom: 62px; }
  .service-strip { grid-template-columns: 1fr 1fr 1fr; gap: 25px; }
  .section { padding-block: 90px; }
  .section-heading { margin-bottom: 50px; }
  h2 { font-size: 70px; }
  .furniture-section { margin-top: 60px; padding-block: 25px; }
  .furniture-item h3 button { font-size: 26px; }
  .category-preview img { min-height: 620px; }
  .project-grid { gap: 20px; }
  .project-open img, .project-tall img, .project-materials img { height: 350px; }
  .project-caption h3 { font-size: 14px; }
  .measurement-title h2 { font-size: 76px; }
  .measurement-section { padding-block: 100px; }
  .calculate-section { gap: 7%; }
  .calculate-intro h2 { font-size: 66px; }
  .faq-section { padding-top: 0; gap: 7%; }
  .footer h2 { font-size: 68px; }
  .footer-wordmark { font-size: 8.4vw; padding-top: 75px; }
}
@media (max-width: 767px) {
  .header { height: 70px; padding-inline: 20px; display: flex; justify-content: space-between; gap: 20px; }
  .desktop-nav, .header-right { display: none; }
  .brand { font-size: 22px; letter-spacing: 2px; text-align: left; }
  .brand-second { font-size: 8px; letter-spacing: 5px; margin-top: 6px; text-align: center; }
  .menu-toggle { display: flex; font-size: 12px; margin-left: 0; }
  .mobile-nav { background: #151719; box-shadow: none; }
  .hero { height: 100dvh; min-height: 640px; }
  .hero-photo { height: 100%; }
  .hero-photo img { object-position: 54% center; }
  .hero::after { background: linear-gradient(180deg, rgb(8 12 17 / .12) 20%, rgb(8 12 17 / .4) 55%, rgb(8 12 17 / .82)); }
  .hero-intro { bottom: 47px; width: calc(100% - 32px); }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.2px; margin-bottom: 20px; }
  h1 { font-size: clamp(50px, 13.6vw, 94px); white-space: normal; line-height: 1.1; max-width: 600px; margin: auto; letter-spacing: -.035em; }
  .hero-aside { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 22px; }
  .hero-aside p { max-width: 290px; font-size: 11px; color: #eee; line-height: 1.6; }
  .hero-aside .hero-mobile-cta { display: inline-flex; min-height: 47px; font-size: 11px; padding: 14px 20px; gap: 24px; }
  .service-strip { grid-template-columns: 1fr; padding-block: 17px; gap: 0; }
  .service-strip a { font-size: 11px; }
  .section { padding-block: 75px; }
  .section-heading { margin-bottom: 38px; }
  h2 { font-size: clamp(47px, 11.8vw, 78px); line-height: 1.12; }
  .section-heading > p { margin-top: 22px; font-size: 12px; max-width: 350px; }
  .furniture-section { display: block; margin-top: 55px; padding-block: 35px; }
  .furniture-section .section-heading { text-align: left; margin-bottom: 32px; }
  .furniture-section .section-heading h2 { font-size: 50px; }
  .furniture-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
  .furniture-list, .category-preview { grid-column: auto; grid-row: auto; display: block; }
  .furniture-item h3 button { padding-block: 21px; font-size: 25px; }
  .category-preview img { min-height: 0; height: 375px; }
  .category-preview figcaption { font-size: 10px; }
  .projects-section { padding-top: 15px; }
  .project-grid { grid-template-columns: 1fr; gap: 34px; }
  .project-open img, .project-tall img, .project-materials img { height: 440px; }
  .project-caption { flex-direction: row; align-items: baseline; gap: 15px; padding-top: 15px; }
  .project-caption h3 { font-size: 15px; }
  .project-caption p { font-size: 10px; }
  .project-materials .project-caption { flex-direction: column; gap: 6px; }
  .measurement-section { padding-block: 80px; }
  .measurement-layout { display: block; }
  .measurement-title .eyebrow { font-size: 9px; letter-spacing: 1.4px; margin-bottom: 22px; }
  .measurement-title h2 { font-size: clamp(48px, 12vw, 80px); }
  .measurement-title .button { margin-top: 28px; }
  .measurement-copy { margin-top: 30px; padding: 0; max-width: 360px; }
  .measurement-copy > p:not(.large-copy) { font-size: 12px; }
  .measurement-copy .text-link { font-size: 11px; }
  .process-list { gap: 35px 24px; }
  .calculate-section { grid-template-columns: 1fr; gap: 35px; }
  .calculate-intro h2 { font-size: 60px; }
  .calculate-intro > p { max-width: 380px; }
  .faq-section { grid-template-columns: 1fr; padding-top: 0; gap: 30px; }
  .faq-section h2 { font-size: 52px; }
  .footer { padding-top: 65px; }
  .footer-top { grid-template-columns: 1fr; gap: 38px; }
  .footer h2 { font-size: 64px; }
  .footer-address { padding-top: 0; }
  .footer-phone { font-size: 23px; margin-top: 25px; }
  .footer-wordmark { font-size: 7.8vw; letter-spacing: .025em; -webkit-text-stroke: .6px var(--text); padding-top: 55px; padding-bottom: 35px; }
  .footer-bottom { font-size: 9px; }
  .project-dialog h2 { font-size: 38px; }
  .request-dialog h2 { font-size: 40px; }
}
@media (max-width: 374px) { .hero { min-height: 600px; } h1 { font-size: 46px; } .hero-intro { bottom: 35px; } .hero .eyebrow { font-size: 7px; } .category-preview img { height: 320px; } .project-open img, .project-tall img, .project-materials img { height: 380px; } .project-caption h3 { font-size: 13px; } .footer h2 { font-size: 56px; } }
@media (prefers-reduced-transparency: reduce) { .header { background: #121416; backdrop-filter: none; } }

/* Размер исходного desktop-экрана для длинного превью. */

