/* Subpage structure and original photographic treatment. */
.subpage-main { background: var(--lan); }
.subpage-hero { position: relative; isolation: isolate; display: flex; min-height: 600px; overflow: hidden; background: var(--orech); color: var(--lan); }
.subpage-hero figure { position: absolute; inset: 0; z-index: 0; margin: 0; pointer-events: none; }
.subpage-hero figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; filter: none; }
.subpage-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(54,32,21,.94), rgba(54,32,21,.86) 68%, rgba(54,32,21,.32)); }
.subpage-hero-copy { position: relative; z-index: 2; width: min(1000px, 85%); padding: 90px var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.subpage-hero h1 { margin-block: 28px; }
.subpage-hero p:not(.eyebrow) { max-width: 55ch; }
.mobile-inquiry { display: none; }
.breadcrumbs { margin-block-end: 26px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.page-card { padding: 40px; background: var(--piesok); display: flex; flex-direction: column; min-width: 0; }
.page-card h2 { margin-block: 32px 20px; }
.page-card p { max-width: 60ch; }
.page-card .text-link { margin-block-start: 28px; align-self: start; }
.local-banner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--orech); color: var(--lan); }
.local-banner > div { padding: 80px var(--gutter); }
.local-banner figure { min-height: 500px; }
.local-banner img { height: 100%; object-fit: cover; filter: saturate(.72); }
.local-banner-photo { position: relative; }
.local-banner-photo img { position: absolute; inset: 0; object-position: center 58%; }
.local-banner h2 { margin-block: 24px; }
.local-banner p { max-width: 54ch; }
.local-banner .button { margin-block-start: 28px; background: var(--lan); color: var(--orech); border-color: var(--lan); }
.conversion-band { text-align: center; padding: 90px var(--gutter); background: var(--piesok); }
.conversion-band h2 { margin: 22px auto 30px; max-width: 900px; }
.conversion-band p { max-width: 60ch; margin: 0 auto 28px; }
.contact-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); background: var(--piesok); }
.contact-options a { min-width: 0; padding: 40px; }
.contact-options strong { display: block; margin-block: 20px; overflow-wrap: anywhere; }
.simple-form { max-width: 760px; margin-inline: auto; }
.simple-form h2 { margin-block: 24px; }
.simple-form > .button { margin-block-start: 28px; }
body[data-page='wood-flooring'] .subpage-hero figure img { object-position: center bottom; }
.doors-hero figure img { object-position: center top; }
.process-hero h1 { max-width: none; font-size: clamp(32px, 4.05vw, 64px); }
.process-hero figure img { object-position: center 64%; }
@media (min-width: 901px) {
  .doors-hero figure { inset-inline-start: 40%; }
  .doors-hero::after { background: linear-gradient(90deg, var(--orech) 39%, rgba(54,32,21,.84) 48%, rgba(54,32,21,.14) 73%); }
  .process-hero { min-height: clamp(440px, 36vw, 560px); }
  .process-hero .subpage-hero-copy { width: 100%; }
  .process-hero::after { background: linear-gradient(105deg, rgba(54,32,21,.94) 4%, rgba(54,32,21,.76) 65%, rgba(54,32,21,.48)); }
}
@media (max-width: 900px) {
  .subpage-hero { min-height: 540px; }
  .subpage-hero-copy { width: 100%; padding-block: 70px; }
  .subpage-hero::after { background: rgba(54,32,21,.84); }
  :is(.doors-hero, .process-hero) { flex-direction: column; min-height: auto; }
  :is(.doors-hero, .process-hero)::after { content: none; }
  :is(.doors-hero, .process-hero) figure { position: relative; height: clamp(300px, 56vw, 430px); }
  .local-banner, .contact-options { grid-template-columns: minmax(0, 1fr); }
  .local-banner figure { min-height: 400px; }
}
@media (max-width: 600px) {
  .subpage-hero { min-height: 420px; }
  .subpage-hero-copy { padding-block: 36px; }
  :is(.doors-hero, .process-hero) figure { height: clamp(220px, 64vw, 320px); }
  .subpage-hero:not(.doors-hero, .process-hero) figure img { object-position: center; }
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  .subpage-hero .mobile-inquiry { display: inline-flex; width: 100%; margin-block-start: 24px; background: var(--salvia); color: var(--orech); border-color: var(--salvia); }
  .page-card { padding: 28px; }
  .local-banner > div { padding-block: 60px; }
  .local-banner figure { min-height: 260px; }
  .contact-options a { padding: 30px var(--gutter); }
}
.showroom-hero figure img { object-position: center 74%; }
