:root {
  --ink: #17352d;
  --ink-dark: #102820;
  --green: #214b3f;
  --sage: #bdc9b8;
  --cream: #f3f0e7;
  --paper: #fbfaf6;
  --sand: #ded6c7;
  --orange: #e76f3d;
  --orange-dark: #c95427;
  --muted: #69746d;
  --line: rgba(23, 53, 45, 0.16);
  --shadow: 0 24px 70px rgba(20, 44, 37, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(231, 111, 61, 0.55); outline-offset: 3px; }

.site-header {
  position: relative;
  z-index: 20;
  height: 88px;
  padding: 0 clamp(24px, 4vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 231, 0.94);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand-mark { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: Georgia, serif; font-size: 20px; font-weight: 700; letter-spacing: -1px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.brand-copy b { font-size: 17px; letter-spacing: 0.16em; }
.brand-copy small { font-size: 9px; font-weight: 700; letter-spacing: 0.25em; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 46px); }
.main-nav a { font-size: 13px; font-weight: 700; position: relative; padding: 34px 0; }
.main-nav a::after { content: ""; position: absolute; height: 2px; background: var(--orange); left: 0; right: 100%; bottom: 24px; transition: right .25s ease; }
.main-nav a:hover::after { right: 0; }
.header-contact { justify-self: end; display: flex; align-items: center; gap: 10px; }
.header-contact span:last-child { display: flex; flex-direction: column; gap: 2px; }
.header-contact small { font-size: 10px; color: var(--muted); }
.header-contact b { font-family: Georgia, serif; font-size: 15px; }
.phone-dot { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; position: relative; }
.phone-dot::before { content: ""; position: absolute; width: 8px; height: 14px; border: 2px solid var(--orange); border-radius: 6px 6px 8px 8px; transform: rotate(-35deg); left: 11px; top: 8px; }

.hero { padding: 60px clamp(24px, 4vw, 72px) 72px; overflow: hidden; }
.hero-heading { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 80px; align-items: end; max-width: 1440px; margin: 0 auto 46px; }
.eyebrow { margin: 0 0 18px; display: flex; align-items: center; gap: 10px; color: var(--orange-dark); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow > span { width: 30px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, .section-heading h2, .doors-heading h2, .contact-copy h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
h1 { font-size: clamp(48px, 6.2vw, 92px); line-height: .94; }
h1 em, h2 em, h3 em { color: var(--orange); font-weight: 400; }
.hero-intro { padding-bottom: 7px; }
.hero-intro > p { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 470px; margin-bottom: 26px; }
.hero-trust { display: flex; gap: 26px; }
.hero-trust span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-left: 15px; border-left: 1px solid var(--line); }
.hero-trust b { display: block; color: var(--ink); font-family: Georgia, serif; font-size: 20px; letter-spacing: 0; margin-bottom: 3px; }

.hero-tiles { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 12px; height: 438px; }
.hero-tile { border: 0; padding: 0; text-align: left; position: relative; overflow: hidden; cursor: pointer; border-radius: 2px; transition: transform .35s ease, box-shadow .35s ease; }
.hero-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tile-topline { position: absolute; left: 26px; right: 26px; top: 23px; display: flex; justify-content: space-between; align-items: center; z-index: 3; }
.number { font-family: Georgia, serif; font-size: 11px; opacity: .66; letter-spacing: .08em; }
.availability, .recommended { font-size: 9px; text-transform: uppercase; font-weight: 800; letter-spacing: .1em; display: flex; align-items: center; gap: 7px; }
.availability i { width: 6px; height: 6px; border-radius: 50%; background: #49a167; box-shadow: 0 0 0 4px rgba(73, 161, 103, .16); }
.recommended { color: var(--cream); background: rgba(243, 240, 231, .13); border: 1px solid rgba(255,255,255,.2); border-radius: 30px; padding: 7px 10px; }
.tile-content { position: absolute; left: 28px; right: 28px; bottom: 25px; z-index: 3; }
.tile-kicker { margin: 0 0 8px; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; opacity: .62; }
.hero-tile h2 { font-family: Georgia, serif; font-size: clamp(25px, 2vw, 34px); line-height: 1.03; font-weight: 400; letter-spacing: -.035em; margin: 0 0 18px; }
.tile-link { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid currentColor; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.arrow { width: 30px; height: 30px; border-radius: 50%; border: 1px solid currentColor; display: inline-grid; place-items: center; line-height: 1; font-size: 14px; transition: transform .25s ease, background .25s ease, color .25s ease; flex: 0 0 auto; }
button:hover .arrow, a:hover .arrow { transform: rotate(45deg); background: var(--orange); color: white; border-color: var(--orange); }
.stock-tile { background: var(--paper); }
.stock-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 42%, rgba(251,250,246,.82) 68%, var(--paper) 100%); z-index: 2; pointer-events: none; }
.stock-tile > .window-visual { position: absolute; width: 54%; height: 47%; top: 52px; left: 23%; transform: perspective(900px) rotateY(-6deg); box-shadow: 18px 22px 32px rgba(30, 52, 43, .14); }
.custom-tile { color: var(--cream); background: var(--green); }
.custom-tile::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); left: -170px; top: -160px; }
.measure-art { position: absolute; height: 220px; width: 185px; top: 49px; left: 50%; transform: translateX(-50%); border-left: 1px solid rgba(255,255,255,.42); border-bottom: 1px solid rgba(255,255,255,.42); padding: 18px 16px 16px 20px; }
.measure-art::before, .measure-art::after { content: ""; position: absolute; background: var(--cream); }
.measure-art::before { width: 5px; height: 1px; bottom: -1px; left: -2px; box-shadow: 180px 0 0 var(--cream); }
.measure-art::after { height: 5px; width: 1px; left: -1px; top: 0; box-shadow: 0 215px 0 var(--cream); }
.measure-width, .measure-height, .summary-width, .summary-height { position: absolute; font-size: 8px; letter-spacing: .08em; opacity: .68; }
.measure-width { bottom: -16px; left: 62px; }
.measure-height { left: -42px; top: 100px; transform: rotate(-90deg); }
.measure-art .window-visual { width: 100%; height: 100%; }

.doors-tile { display: grid; grid-template-rows: 1.08fr .92fr; gap: 1px; background: var(--ink); }
.door-half { border: 0; text-align: left; position: relative; padding: 23px 26px; cursor: pointer; overflow: hidden; }
.door-half .number { position: absolute; top: 24px; left: 26px; }
.door-half .arrow { position: absolute; right: 24px; bottom: 22px; }
.door-half h2 { font-size: clamp(22px, 1.75vw, 29px); margin-bottom: 6px; }
.door-half small { font-size: 10px; opacity: .58; }
.exterior-door { background: #dcd3c2; }
.exterior-door > div:last-of-type { position: absolute; left: 26px; bottom: 23px; z-index: 2; }
.door-art { position: absolute; width: 86px; height: 142px; right: 53px; top: 17px; background: #795b3e; border: 7px solid #b69672; box-shadow: 12px 16px 20px rgba(38, 33, 26, .16); }
.door-art::before, .door-art::after { content: ""; position: absolute; left: 8px; right: 8px; height: 1px; background: rgba(249,238,216,.28); box-shadow: 0 18px 0 rgba(249,238,216,.28), 0 36px 0 rgba(249,238,216,.28), 0 54px 0 rgba(249,238,216,.28), 0 72px 0 rgba(249,238,216,.28), 0 90px 0 rgba(249,238,216,.28); }
.door-art::before { top: 13px; }
.door-art i { position: absolute; width: 8px; height: 2px; background: #d4b17e; border-radius: 3px; right: 9px; top: 68px; }
.interior-door { background: #cabda8; }
.interior-door::before { content: ""; position: absolute; inset: 0 0 0 52%; background: repeating-linear-gradient(91deg, transparent 0 11px, rgba(64,53,39,.035) 12px 13px); }
.interior-door > div { position: absolute; left: 26px; top: 32px; }
.interior-door h2 { margin-bottom: 7px; }

.window-visual { position: relative; background: #e8ebe5; border: 10px solid #fbfbf8; box-shadow: inset 0 0 0 2px #d8ddd5; display: grid; grid-template-columns: 1fr; overflow: visible; }
.window-visual .pane { position: relative; display: block; overflow: hidden; background: linear-gradient(145deg, #b8cbc9 0%, #ecf0e9 38%, #afc1be 40%, #dde5df 100%); border: 4px solid #f9faf5; box-shadow: inset 0 0 0 1px #adb8b2; }
.window-visual .pane::after { content: ""; position: absolute; width: 220%; height: 18%; background: rgba(255,255,255,.52); transform: rotate(-42deg); top: 20%; left: -60%; }
.window-double { grid-template-columns: 1fr 1fr; }
.window-door { aspect-ratio: .46; max-height: 100%; margin: auto; }
.window-fixed .window-handle { display: none; }
.window-visual.is-dark { border-color: #e9e9df; box-shadow: inset 0 0 0 2px #c8ccc5; }
.window-handle { position: absolute; z-index: 2; width: 3px; height: 16px; background: #6a746e; border-radius: 4px; right: 9px; top: 48%; box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.window-double .window-handle { right: calc(50% - 7px); }

.service-strip { min-height: 68px; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 50px); padding: 18px 24px; background: var(--ink); color: #e8e6dd; }
.service-strip span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.service-strip i { width: 3px; height: 3px; border-radius: 50%; background: var(--orange); }

.section { padding: 110px clamp(24px, 5.3vw, 96px); scroll-margin-top: 16px; }
.section-heading { max-width: 1320px; margin: 0 auto 52px; display: grid; grid-template-columns: 1.45fr .55fr; gap: 80px; align-items: end; }
.section-heading h2, .doors-heading h2, .contact-copy h2 { font-size: clamp(43px, 5vw, 70px); line-height: .99; }
.section-heading > p { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 420px; margin: 0 0 4px; }
.stock-section { background: var(--paper); }
.dimension-search { max-width: 1320px; margin: 0 auto 36px; display: grid; grid-template-columns: minmax(210px, 1fr) 30px minmax(210px, 1fr) minmax(270px, .8fr); gap: 14px; align-items: end; padding: 26px 28px; background: #ece8dd; border: 1px solid rgba(23,53,45,.1); }
.dimension-field label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin: 0 0 9px 2px; }
.dimension-field > div { position: relative; display: flex; align-items: center; background: var(--paper); border: 1px solid var(--line); }
.dimension-field input { min-width: 0; width: 100%; height: 58px; border: 0; background: transparent; padding: 0 70px 0 18px; color: var(--ink); font-family: Georgia, serif; font-size: 22px; outline: 0; }
.dimension-field input:focus { box-shadow: inset 0 0 0 2px var(--orange); }
.dimension-field > div span { position: absolute; right: 17px; font-size: 11px; color: var(--muted); }
.dimension-cross { align-self: center; text-align: center; font-family: Georgia, serif; font-size: 28px; color: var(--muted); margin-bottom: 12px; }
.search-status { height: 60px; display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 10px; font-weight: 800; letter-spacing: .04em; color: var(--muted); text-align: center; }
.spinner { width: 17px; height: 17px; border: 2px solid rgba(23,53,45,.18); border-top-color: var(--orange); border-radius: 50%; animation: spin .7s linear infinite; }
.result-check { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(44,126,78,.12); color: #2c7e4e; }
@keyframes spin { to { transform: rotate(360deg); } }
.product-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; transition: opacity .18s ease, transform .18s ease; }
.product-grid.is-loading { opacity: .48; transform: translateY(3px); }
.product-card { background: #fff; border: 1px solid rgba(23,53,45,.12); min-width: 0; transition: transform .25s ease, box-shadow .25s ease; animation: cardIn .35s both; animation-delay: var(--delay); }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 45px rgba(20,44,37,.11); }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.product-visual { height: 220px; background: #edece5; position: relative; display: grid; place-items: center; overflow: hidden; }
.product-visual::before { content: ""; position: absolute; width: 78%; height: 1px; background: rgba(23,53,45,.12); bottom: 24px; left: 11%; box-shadow: 0 7px 13px rgba(23,53,45,.12); }
.product-visual .window-visual { width: 110px; height: 132px; box-shadow: 12px 16px 20px rgba(23,53,45,.13); }
.product-visual .window-double { width: 166px; }
.product-visual .window-door { width: 74px; height: 154px; }
.stock-count, .match-badge { position: absolute; z-index: 3; top: 14px; font-size: 8px; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; padding: 7px 9px; }
.stock-count { right: 14px; color: #236a40; background: rgba(255,255,255,.8); }
.match-badge { left: 14px; color: var(--cream); background: var(--ink); }
.match-badge.exact { background: var(--orange); }
.product-body { padding: 22px; }
.product-size { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--orange-dark); }
.product-body h3 { margin: 0 0 15px; font-family: Georgia, serif; font-size: 21px; font-weight: 400; letter-spacing: -.02em; }
.product-body ul { margin: 0 0 22px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.product-body li { font-size: 9px; color: var(--muted); background: #f1efe9; padding: 6px 8px; }
.product-price { border-top: 1px solid var(--line); padding-top: 17px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.product-price > div { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: end; }
.product-price small { grid-column: 1 / -1; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 3px; }
.product-price b { font-family: Georgia, serif; font-size: 20px; }
.product-price s { font-size: 10px; color: #949994; }
.product-price button { border: 0; background: transparent; display: flex; align-items: center; gap: 8px; padding: 0; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; cursor: pointer; }
.product-price .arrow { width: 28px; height: 28px; }

.config-section { background: var(--ink-dark); color: var(--cream); }
.section-heading.light > p { color: rgba(243,240,231,.62); }
.configurator { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.54fr) minmax(340px, .66fr); gap: 14px; align-items: start; }
.config-controls { background: #f0ede3; color: var(--ink); padding: 34px; }
.config-step { border: 0; margin: 0 0 30px; padding: 0 0 30px; border-bottom: 1px solid var(--line); min-width: 0; }
.config-step legend { display: flex; align-items: center; gap: 10px; font-family: Georgia, serif; font-size: 18px; padding: 0; margin-bottom: 20px; }
.config-step legend > span { width: 25px; height: 25px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-family: Arial, sans-serif; font-size: 9px; font-weight: 800; }
.type-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.type-options label { min-width: 0; height: 174px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: end; padding: 16px 10px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: border .2s ease, box-shadow .2s ease; }
.type-options label.selected { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.type-options input, .color-options input { position: absolute; opacity: 0; pointer-events: none; }
.type-options .window-visual { position: absolute; top: 16px; width: 56px; height: 78px; border-width: 6px; }
.type-options .window-double { width: 92px; }
.type-options .window-door { width: 38px; height: 85px; }
.type-options b { font-size: 11px; margin-bottom: 3px; }
.type-options small { font-size: 8px; color: var(--muted); }
.radio-mark { position: absolute; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line); top: 10px; right: 10px; }
.selected .radio-mark { border: 4px solid var(--orange); }
.dimensions-step { display: grid; grid-template-columns: 175px 1fr; gap: 28px; align-items: end; }
.dimensions-step legend { margin-bottom: 20px; }
.config-dimensions { display: grid; grid-template-columns: 1fr 24px 1fr; align-items: end; gap: 8px; }
.config-dimensions > label { font-size: 9px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.config-dimensions > label > div { margin-top: 7px; background: var(--paper); border: 1px solid var(--line); position: relative; }
.config-dimensions input { width: 100%; height: 52px; background: transparent; border: 0; padding: 0 55px 0 15px; outline: 0; font-family: Georgia, serif; font-size: 19px; }
.config-dimensions label span { position: absolute; right: 13px; top: 20px; color: var(--muted); font-size: 9px; }
.config-dimensions > b { font-family: Georgia, serif; font-size: 24px; color: var(--muted); text-align: center; padding-bottom: 12px; }
.config-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.compact-step { min-width: 0; }
.select-label { display: flex; flex-direction: column; gap: 7px; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.select-label select { width: 100%; height: 50px; padding: 0 40px 0 13px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); outline: 0; font-size: 11px; text-transform: none; letter-spacing: 0; font-weight: 700; }
.segmented { height: 50px; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border: 1px solid var(--line); padding: 4px; }
.segmented button { border: 0; background: transparent; color: var(--muted); font-size: 10px; font-weight: 700; cursor: pointer; }
.segmented button small { display: block; font-size: 8px; margin-top: 2px; font-weight: 400; }
.segmented button.active { background: var(--ink); color: white; }
.color-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.color-options label { min-width: 0; height: 50px; display: flex; align-items: center; gap: 7px; padding: 0 9px; background: var(--paper); border: 1px solid var(--line); cursor: pointer; font-size: 9px; }
.color-options label.selected { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.color-dot { width: 17px; height: 17px; border-radius: 50%; border: 1px solid rgba(23,53,45,.14); box-shadow: inset 0 0 0 2px white; flex: 0 0 auto; }
.color-dot.white { background: #f4f3eb; }.color-dot.anthracite { background: #404844; }.color-dot.oak { background: #ae7a46; }
.addons-step { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.addon-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.addon-options label { height: 47px; display: flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); padding: 0 10px; font-size: 9px; font-weight: 700; cursor: pointer; }
.addon-options input { position: absolute; opacity: 0; }
.addon-options i { width: 16px; height: 16px; border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; }
.addon-options input:checked + i { background: var(--orange); border-color: var(--orange); }
.addon-options input:checked + i::after { content: "✓"; color: white; font-size: 10px; }

.config-summary { position: sticky; top: 16px; background: #e0d6c4; color: var(--ink); padding: 30px; }
.summary-kicker { font-size: 9px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; margin-bottom: 18px; }
.summary-visual { position: relative; height: 230px; background: rgba(255,255,255,.22); display: grid; place-items: center; border-left: 1px solid rgba(23,53,45,.28); border-bottom: 1px solid rgba(23,53,45,.28); margin: 0 20px 30px; }
.summary-visual .window-visual { width: 115px; height: 145px; box-shadow: 18px 22px 28px rgba(48,43,35,.16); }
.summary-visual .window-double { width: 175px; }
.summary-visual .window-door { width: 72px; height: 175px; }
.summary-width { left: 46%; bottom: -17px; }
.summary-height { top: 50%; left: -40px; transform: rotate(-90deg); }
.summary-title { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-bottom: 1px solid rgba(23,53,45,.18); padding-bottom: 15px; }
.summary-title h3 { font-family: Georgia, serif; font-weight: 400; font-size: 20px; margin: 0; }
.summary-title span { font-size: 9px; color: var(--muted); }
.config-summary dl { margin: 15px 0; }
.config-summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 9px; }
.config-summary dt { color: var(--muted); }.config-summary dd { margin: 0; font-weight: 700; text-align: right; }
.price-total { display: flex; justify-content: space-between; gap: 16px; align-items: end; border-top: 1px solid rgba(23,53,45,.18); padding: 18px 0; }
.price-total > span { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.price-total small { display: block; color: var(--muted); text-transform: none; letter-spacing: 0; margin-top: 5px; font-weight: 400; }
.price-total strong { font-family: Georgia, serif; font-size: 30px; white-space: nowrap; }
.primary-button { width: 100%; min-height: 56px; border: 0; background: var(--orange); color: white; display: flex; align-items: center; justify-content: space-between; padding: 10px 13px 10px 18px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; cursor: pointer; }
.primary-button:hover { background: var(--orange-dark); }
.primary-button .arrow { border-color: rgba(255,255,255,.45); }
.price-note { font-size: 8px; color: var(--muted); line-height: 1.5; text-align: center; margin: 12px 14px 0; }

.doors-section { background: #dfd7c8; }
.doors-heading { max-width: 1320px; margin: 0 auto 52px; }
.door-showcase { max-width: 1320px; height: 540px; margin: 0 auto 14px; display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden; }
.showcase-copy { position: relative; padding: 64px clamp(36px, 5vw, 76px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.showcase-copy h3 { font-family: Georgia, serif; font-size: clamp(36px, 4.2vw, 59px); line-height: 1; font-weight: 400; letter-spacing: -.04em; margin: 0 0 22px; }
.showcase-copy > p:not(.tile-kicker) { max-width: 450px; font-size: 13px; line-height: 1.65; opacity: .7; }
.showcase-copy ul { list-style: none; padding: 0; margin: 8px 0 27px; display: flex; flex-wrap: wrap; gap: 8px; }
.showcase-copy li { font-size: 9px; text-transform: uppercase; letter-spacing: .07em; padding: 7px 9px; border: 1px solid currentColor; opacity: .72; }
.showcase-copy button { border: 0; border-top: 1px solid currentColor; background: transparent; min-width: 260px; padding: 15px 0 0; display: flex; justify-content: space-between; align-items: center; text-transform: uppercase; font-size: 9px; letter-spacing: .08em; font-weight: 800; cursor: pointer; }
.showcase-number { position: absolute; top: 30px; right: 32px; font-family: Georgia, serif; font-size: 11px; opacity: .5; }
.mass-door { background: var(--ink); color: var(--cream); }
.large-door-art { position: relative; background: #c3b198; display: grid; place-items: center; overflow: hidden; }
.large-door-art::before { content: ""; position: absolute; width: 1px; height: 150%; background: rgba(59,49,37,.1); transform: rotate(24deg); box-shadow: 90px 0 0 rgba(59,49,37,.1), 180px 0 0 rgba(59,49,37,.1), 270px 0 0 rgba(59,49,37,.1); }
.wood-door { width: 220px; height: 400px; background: #79593c; border: 15px solid #a47c55; position: relative; box-shadow: 35px 40px 50px rgba(43,35,27,.24); z-index: 2; }
.wood-door::before { content: ""; position: absolute; inset: 15px; border: 2px solid rgba(233,207,167,.3); box-shadow: inset 0 0 0 10px rgba(89,59,33,.2); }
.wood-door::after { content: ""; position: absolute; left: 23px; right: 23px; height: 2px; background: rgba(233,207,167,.22); top: 55px; box-shadow: 0 38px 0 rgba(233,207,167,.22), 0 76px 0 rgba(233,207,167,.22), 0 114px 0 rgba(233,207,167,.22), 0 152px 0 rgba(233,207,167,.22), 0 190px 0 rgba(233,207,167,.22), 0 228px 0 rgba(233,207,167,.22); }
.wood-door i { position: absolute; right: 24px; top: 50%; width: 24px; height: 5px; background: #cdb68f; z-index: 3; border-radius: 4px; }
.door-shadow { width: 410px; height: 34px; border-radius: 50%; background: rgba(49,39,28,.19); filter: blur(14px); position: absolute; bottom: 34px; left: 50%; transform: translateX(-42%); }
.veneer-door { background: #f2eee5; grid-template-columns: 1.2fr .8fr; color: var(--ink); }
.interior-art { background: #d8d0c3; }
.interior-art .wood-door { background: #b89168; border-color: #d2b99a; }
.interior-art .wood-door::before { inset: 28px; border: 1px solid rgba(255,245,226,.5); box-shadow: none; }
.interior-art .wood-door::after { display: none; }

.process-section { background: var(--paper); }
.process-grid { max-width: 1320px; margin: 0 auto; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-grid li { min-height: 270px; position: relative; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid > li > span { font-family: Georgia, serif; font-size: 11px; opacity: .54; }
.process-grid > li > i { position: absolute; right: 25px; top: 25px; width: 38px; height: 38px; border-radius: 50%; background: #e8e5da; display: grid; place-items: center; font-style: normal; }
.process-grid h3 { font-family: Georgia, serif; font-weight: 400; font-size: 22px; margin: 100px 0 12px; }
.process-grid p { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 0; }

.contact-section { padding: 100px clamp(24px, 7vw, 130px); background: var(--green); color: var(--cream); display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 8vw, 130px); }
.contact-copy > p:not(.eyebrow) { color: rgba(243,240,231,.67); font-size: 13px; line-height: 1.7; max-width: 460px; margin: 26px 0; }
.contact-person { display: flex; align-items: center; gap: 12px; margin: 36px 0 20px; }
.contact-person > span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: #c8b89d; font-family: Georgia, serif; font-size: 14px; }
.contact-person > div { display: flex; flex-direction: column; gap: 3px; }
.contact-person b { font-family: Georgia, serif; font-size: 15px; }.contact-person small { opacity: .58; font-size: 9px; }
.contact-copy > a { display: block; width: max-content; font-family: Georgia, serif; font-size: 19px; margin: 8px 0; }
.stock-data-note { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0 30px; border: 1px solid var(--line); background: #fff; }
.stock-data-note > div { min-height: 108px; padding: 22px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.stock-data-note > div:last-child { border-right: 0; }
.stock-data-note b { color: var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.stock-data-note span { color: var(--muted); font-size: 10px; line-height: 1.55; }
.illustration-badge { position: absolute; left: 12px; bottom: 12px; z-index: 3; padding: 6px 8px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 7px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pickup-notice { max-width: 500px; margin: 28px 0 18px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.2); border-left: 5px solid var(--orange); background: rgba(255,255,255,.06); }
.pickup-notice strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.pickup-notice p { margin: 9px 0 0; color: rgba(243,240,231,.72); font-size: 10px; line-height: 1.6; }
.pending-contact, .map-contact { display: block; max-width: 470px; margin-top: 12px; color: rgba(243,240,231,.62); font-size: 10px; line-height: 1.55; }
.pending-contact { font-weight: 800; color: rgba(243,240,231,.82); }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.map-links a { padding: 10px 12px; border: 1px solid rgba(255,255,255,.3); color: var(--cream); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.contact-form { background: var(--paper); color: var(--ink); padding: 34px; min-height: 520px; }
.contact-form > label, .form-row label { display: flex; flex-direction: column; gap: 8px; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input:not([type="checkbox"]), .contact-form textarea { width: 100%; border: 1px solid var(--line); background: #f0eee7; padding: 15px; outline: 0; color: var(--ink); text-transform: none; font-size: 12px; font-weight: 400; letter-spacing: 0; }
.contact-form input:not([type="checkbox"]) { height: 50px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.consent { flex-direction: row !important; align-items: center; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; color: var(--muted); cursor: pointer; }
.consent input { position: absolute; opacity: 0; }
.consent i { width: 18px; height: 18px; flex: 0 0 auto; border: 1px solid var(--line); display: grid; place-items: center; }
.consent input:checked + i { background: var(--orange); border-color: var(--orange); }.consent input:checked + i::after { content: "✓"; color: white; font-size: 11px; }
.form-success { min-height: 450px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.form-success > span { width: 62px; height: 62px; border-radius: 50%; background: rgba(44,126,78,.12); color: #2c7e4e; display: grid; place-items: center; font-size: 24px; margin-bottom: 20px; }
.form-success h3 { font-family: Georgia, serif; font-size: 30px; font-weight: 400; margin-bottom: 10px; }.form-success p { max-width: 330px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.form-success button { border: 0; border-bottom: 1px solid var(--ink); background: transparent; margin-top: 16px; padding: 7px 0; cursor: pointer; font-size: 10px; text-transform: uppercase; font-weight: 800; }

footer { min-height: 126px; padding: 28px clamp(24px, 5vw, 90px); background: var(--ink-dark); color: var(--cream); display: grid; grid-template-columns: auto 1fr auto auto; gap: 48px; align-items: center; }
.footer-brand .brand-mark { background: var(--cream); color: var(--ink); }.footer-brand .brand-copy small { color: rgba(243,240,231,.55); }
footer > p { margin: 0; font-size: 10px; color: rgba(243,240,231,.52); }
footer > div { display: flex; gap: 24px; font-size: 10px; font-weight: 700; }
footer > small { color: rgba(243,240,231,.42); font-size: 9px; }

@media (max-width: 1100px) {
  .main-nav { display: none; }
  .site-header { grid-template-columns: 1fr 1fr; }
  .hero-heading { grid-template-columns: 1fr .55fr; gap: 40px; }
  .hero-tiles { height: auto; grid-template-columns: 1fr 1fr; }
  .hero-tile { min-height: 430px; }
  .doors-tile { grid-column: 1 / -1; min-height: 330px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .door-art { right: 70px; top: 45px; }
  .dimension-search { grid-template-columns: 1fr 26px 1fr; }
  .search-status { grid-column: 1 / -1; height: 28px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .configurator { grid-template-columns: 1fr; }
  .config-summary { position: relative; top: 0; }
  .config-summary { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0 32px; }
  .config-summary .summary-kicker, .config-summary .summary-visual { grid-row: span 5; }
  .config-summary .summary-kicker { display: none; }
  .summary-visual { grid-column: 1; margin-top: 10px; }
  .summary-title, .config-summary dl, .price-total, .config-summary .primary-button, .price-note { grid-column: 2; }
  .door-showcase { height: 500px; }
  .contact-section { gap: 55px; }
}

@media (max-width: 760px) {
  .site-header { height: 72px; padding: 0 18px; }
  .brand-mark { width: 40px; height: 40px; font-size: 17px; }
  .header-contact small { display: none; }.header-contact b { font-size: 13px; }.phone-dot { display: none; }
  .hero { padding: 42px 18px 50px; }
  .hero-heading { grid-template-columns: 1fr; gap: 26px; margin-bottom: 32px; }
  h1 { font-size: clamp(46px, 15vw, 65px); }
  .hero-intro { max-width: 560px; }
  .hero-tiles { grid-template-columns: 1fr; }
  .hero-tile { min-height: 400px; }
  .doors-tile { grid-column: auto; min-height: 470px; grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .door-art { width: 70px; height: 115px; right: 46px; top: 24px; }
  .service-strip { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }.service-strip span { white-space: nowrap; }
  .section { padding: 76px 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 36px; }
  .section-heading h2, .doors-heading h2, .contact-copy h2 { font-size: clamp(39px, 12vw, 56px); }
  .dimension-search { padding: 19px; grid-template-columns: 1fr; }
  .dimension-cross { margin: -5px 0; }.search-status { grid-column: auto; }
  .product-grid { grid-template-columns: 1fr; }
  .stock-data-note { grid-template-columns: 1fr; }
  .stock-data-note > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stock-data-note > div:last-child { border-bottom: 0; }
  .config-controls { padding: 22px 16px; }
  .type-options { grid-template-columns: repeat(2, 1fr); }
  .dimensions-step { grid-template-columns: 1fr; gap: 0; }
  .config-row { grid-template-columns: 1fr; gap: 0; }
  .color-options { grid-template-columns: 1fr 1fr 1fr; }
  .color-options label span { overflow: hidden; text-overflow: ellipsis; }
  .addon-options { grid-template-columns: 1fr 1fr; }
  .config-summary { display: block; padding: 24px 18px; }
  .summary-visual { margin: 15px 28px 30px; }
  .door-showcase, .veneer-door { height: auto; grid-template-columns: 1fr; }
  .showcase-copy { min-height: 500px; padding: 65px 26px 45px; }
  .large-door-art { min-height: 450px; grid-row: auto; }
  .veneer-door .large-door-art { grid-row: 2; }
  .wood-door { width: 175px; height: 330px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: 210px; }.process-grid h3 { margin-top: 65px; }
  .contact-section { padding: 76px 18px; grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }.form-row { grid-template-columns: 1fr; gap: 0; }
  footer { grid-template-columns: 1fr; gap: 20px; padding: 38px 20px; } footer > div { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* JP OKNA VYSOČINA — brand system derived from the supplied logo */
:root {
  --ink: #041f57;
  --ink-dark: #031744;
  --green: #041f57;
  --sage: #d8edf7;
  --cream: #f4f8fb;
  --paper: #ffffff;
  --sand: #dce9f1;
  --orange: #008dc5;
  --orange-dark: #0076aa;
  --muted: #607087;
  --line: rgba(4, 31, 87, .16);
  --shadow: 0 24px 64px rgba(4, 31, 87, .13);
}

body { background: #f4f8fb; color: var(--ink); }

.site-header {
  height: 88px;
  padding-inline: clamp(20px, 4vw, 70px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 10px 32px rgba(4, 31, 87, .06);
}
.brand { overflow: visible; }
.brand-logo-crop { display: block; width: 275px; height: 62px; overflow: visible; flex: 0 0 auto; }
.brand-logo-crop img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; object-position: left center; }
.main-nav a { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.main-nav a::after { bottom: 22px; background: var(--orange); }
.header-contact b { font-family: Arial, Helvetica, sans-serif; font-weight: 800; }
.phone-dot { border-color: rgba(4, 31, 87, .22); }
.phone-dot::before { border-color: var(--orange); }

.hero {
  position: relative;
  padding-top: 72px;
  background-color: #fff;
  background-image: linear-gradient(rgba(0,141,197,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(0,141,197,.055) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero::before { content: ""; position: absolute; width: 245px; height: 245px; right: -42px; top: 40px; border: 18px solid rgba(0,141,197,.07); box-shadow: inset 0 0 0 3px rgba(4,31,87,.04); pointer-events: none; }
.hero-heading { position: relative; z-index: 2; grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr); max-width: 1460px; }
.eyebrow { color: var(--orange-dark); letter-spacing: .2em; }
.eyebrow > span { width: 34px; height: 3px; }
h1, .section-heading h2, .doors-heading h2, .contact-copy h2,
.hero-tile h2, .showcase-copy h3, .product-body h3, .process-grid h3,
.summary-title h3, .form-success h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -.045em;
}
h1 { max-width: 940px; font-size: clamp(50px, 6.7vw, 98px); line-height: .91; text-transform: uppercase; }
h1 em, h2 em, h3 em { color: var(--orange); font-style: normal; font-weight: 800; }
.hero-intro > p { color: #52637a; font-size: 15px; }
.hero-trust span { border-left: 3px solid var(--orange); }
.hero-trust b { font-family: Arial, Helvetica, sans-serif; font-weight: 900; color: var(--ink); }

.hero-tiles { max-width: 1460px; grid-template-columns: .92fr 1.24fr .92fr; height: 465px; gap: 10px; }
.hero-tile { border-radius: 0; border: 1px solid rgba(4,31,87,.12); box-shadow: none; }
.hero-tile:hover { transform: translateY(-6px); box-shadow: 0 24px 55px rgba(4,31,87,.16); }
.tile-kicker { letter-spacing: .2em; }
.hero-tile h2 { text-transform: uppercase; line-height: .95; font-size: clamp(24px, 2vw, 34px); }
.tile-link { border-top-width: 2px; }
.arrow { border-width: 2px; font-weight: 800; }
button:hover .arrow, a:hover .arrow { background: var(--orange); border-color: var(--orange); }
.stock-tile { background: #eaf5fa; }
.stock-tile::after { background: linear-gradient(to bottom, transparent 38%, rgba(234,245,250,.88) 66%, #eaf5fa 100%); }
.custom-tile { background: var(--ink); color: white; border-color: var(--ink); }
.custom-tile::before { width: 350px; height: 350px; border-radius: 0; border: 18px solid rgba(0,141,197,.1); transform: rotate(12deg); }
.custom-tile .recommended { background: var(--orange); border: 0; }
.custom-tile .measure-art { border-color: rgba(255,255,255,.55); }
.custom-tile .window-visual { border-color: white; }
.doors-tile { background: var(--orange); }
.door-half { color: white; }
.exterior-door { background: #007fb7; }
.exterior-door em { color: white; }
.interior-door { background: #00a0d4; }
.interior-door::before { background: repeating-linear-gradient(90deg, transparent 0 24px, rgba(255,255,255,.08) 25px 26px); }
.door-art { background: #557797; border-color: #d9eef7; }

.service-strip { min-height: 72px; background: var(--ink); }
.service-strip span { letter-spacing: .12em; }
.service-strip i { width: 5px; height: 5px; background: var(--orange); }

.section { padding-block: 120px; }
.section-heading { max-width: 1360px; }
.section-heading h2, .doors-heading h2, .contact-copy h2 { font-size: clamp(43px, 5vw, 74px); line-height: .93; text-transform: uppercase; }
.stock-section { background: #fff; }
.stock-categories { max-width: 1360px; margin: 0 auto 12px; display: flex; gap: 0; border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.stock-categories button { min-height: 48px; padding: 0 24px; border: 0; border-right: 1px solid var(--line); background: #fff; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; font-size: 9px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.stock-categories button.active { background: var(--ink); color: #fff; }
.stock-categories button:hover:not(.active) { background: #eaf5fa; color: var(--ink); }
.dimension-search { max-width: 1360px; margin-bottom: 30px; background: #eaf5fa; border: 1px solid rgba(4,31,87,.14); border-top: 5px solid var(--orange); }
.dimension-field > div { border-color: rgba(4,31,87,.2); }
.dimension-field input { font-family: Arial, Helvetica, sans-serif; font-weight: 800; color: var(--ink); }
.dimension-field input:focus { box-shadow: inset 0 0 0 2px var(--orange); }
.result-check { background: rgba(0,141,197,.13); color: var(--orange-dark); }
.product-grid { max-width: 1360px; }
.product-card { border-color: rgba(4,31,87,.15); }
.product-card:hover { box-shadow: 0 18px 48px rgba(4,31,87,.13); }
.product-visual { background: #edf5f9; }
.product-size { color: var(--orange-dark); }
.product-body h3 { font-size: 20px; text-transform: uppercase; }
.product-body li { background: #edf5f9; }
.stock-count { color: var(--ink); background: rgba(255,255,255,.88); }
.match-badge { background: var(--ink); }
.match-badge.exact { background: var(--orange); }
.product-price b, .price-total strong { font-family: Arial, Helvetica, sans-serif; font-weight: 900; }

.config-section { position: relative; background-color: var(--ink-dark); background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 52px 52px; }
.config-controls { background: #fff; }
.config-step legend { font-family: Arial, Helvetica, sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.config-step legend > span { background: var(--orange); }
.type-options label, .config-dimensions > label > div, .select-label select, .segmented, .color-options label, .addon-options label { background: #f4f8fb; }
.type-options label.selected, .color-options label.selected { border-color: var(--orange); box-shadow: inset 0 0 0 2px var(--orange); }
.selected .radio-mark { border-color: var(--orange); }
.config-dimensions input { font-family: Arial, Helvetica, sans-serif; font-weight: 800; color: var(--ink); }
.segmented button.active { background: var(--ink); }
.addon-options input:checked + i { background: var(--orange); border-color: var(--orange); }
.config-summary { background: #e4f3f9; border-top: 7px solid var(--orange); }
.summary-title h3 { text-transform: uppercase; }
.primary-button { background: var(--orange); }
.primary-button:hover { background: var(--orange-dark); }

.doors-section { background: #eaf3f8; }
.doors-heading { max-width: 1360px; }
.door-showcase { max-width: 1360px; }
.mass-door { background: var(--ink); }
.large-door-art { background: #cfe8f2; }
.large-door-art::before { background: rgba(4,31,87,.08); box-shadow: 90px 0 0 rgba(4,31,87,.08), 180px 0 0 rgba(4,31,87,.08), 270px 0 0 rgba(4,31,87,.08); }
.veneer-door { background: #fff; }
.interior-art { background: #e7f2f7; }
.showcase-copy h3 { text-transform: uppercase; }

.process-section { background: #fff; }
.process-grid > li > i { background: #dff1f8; color: var(--orange-dark); font-weight: 800; }
.process-grid h3 { text-transform: uppercase; font-size: 19px; }

.contact-section { background: var(--ink); }
.contact-person > span { background: var(--orange); color: white; font-family: Arial, Helvetica, sans-serif; font-weight: 900; }
.contact-person b, .contact-copy > a { font-family: Arial, Helvetica, sans-serif; font-weight: 800; }
.contact-form { border-top: 7px solid var(--orange); }
.contact-form input:not([type="checkbox"]), .contact-form textarea { background: #edf5f9; }
.consent input:checked + i { background: var(--orange); border-color: var(--orange); }

footer { background: #02143b; }
.footer-brand { background: #fff; padding: 4px 10px; }
.footer-brand .brand-logo-crop { width: 245px; height: 56px; }

@media (max-width: 1100px) {
  .hero-tiles { grid-template-columns: 1fr 1.15fr; }
  .stock-categories { max-width: 100%; }
}

@media (max-width: 760px) {
  .site-header { height: 76px; padding-inline: 16px; }
  .brand-logo-crop { width: 170px; height: 50px; }
  .hero { padding-top: 54px; }
  .hero::before { display: none; }
  .hero-heading { grid-template-columns: 1fr; }
  h1 { font-size: clamp(43px, 13.2vw, 64px); }
  .hero-tiles { grid-template-columns: 1fr; }
  .stock-categories { margin-bottom: 10px; }
  .stock-categories button { padding-inline: 18px; }
  .section { padding-block: 82px; }
  .section-heading h2, .doors-heading h2, .contact-copy h2 { font-size: clamp(38px, 11vw, 54px); }
  .footer-brand .brand-logo-crop { width: 190px; }
}

/* Generated product photography */
.hero-product-photo,
.measure-product-photo,
.tile-door-photo,
.product-photo,
.door-photo-wrap img { display: block; }

.hero-product-photo { position: absolute; z-index: 1; }
.stock-product-photo { inset: 0 0 auto; width: 100%; height: 71%; object-fit: cover; object-position: center 46%; transition: transform .55s ease; }
.stock-tile:hover .stock-product-photo { transform: scale(1.035); }
.stock-tile::after { background: linear-gradient(to bottom, rgba(234,245,250,.02) 29%, rgba(234,245,250,.8) 58%, #eaf5fa 76%); }

.measure-art { width: 214px; height: 236px; top: 43px; padding: 0; background: #e7f3f9; box-shadow: 0 18px 40px rgba(0,0,0,.22); }
.measure-product-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .55s ease; }
.custom-tile:hover .measure-product-photo { transform: scale(1.035); }
.measure-art .measure-width,
.measure-art .measure-height { z-index: 3; color: #fff; opacity: .85; }

.tile-door-photo { position: absolute; inset: 0 0 0 auto; z-index: 1; width: 60%; height: 100%; object-fit: cover; object-position: center; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%, #000 100%); mask-image: linear-gradient(to right, transparent 0%, #000 34%, #000 100%); transition: transform .5s ease; }
.door-half:hover .tile-door-photo { transform: scale(1.045); }
.door-half > .number,
.door-half > div,
.door-half > .arrow { z-index: 3; }
.exterior-door::after,
.interior-door::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(0,92,142,.94) 0%, rgba(0,92,142,.7) 47%, transparent 78%); }
.interior-door::after { background: linear-gradient(90deg, rgba(0,133,185,.94) 0%, rgba(0,133,185,.68) 49%, transparent 80%); }

.product-visual { height: 276px; display: block; background: #e8f3f8; }
.product-visual::before { display: none; }
.product-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .45s ease; }
.product-card:hover .product-photo { transform: scale(1.035); }
.product-visual .stock-count,
.product-visual .match-badge { box-shadow: 0 7px 20px rgba(4,31,87,.12); }

.door-photo-wrap { position: relative; min-width: 0; overflow: hidden; background: #ddecf4; }
.door-photo-wrap::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.55); pointer-events: none; }
.door-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .65s ease; }
.door-showcase:hover .door-photo-wrap img { transform: scale(1.025); }
.interior-photo-wrap { background: #e7f2f7; }

@media (max-width: 1100px) {
  .stock-product-photo { height: 69%; }
  .tile-door-photo { width: 57%; }
}

@media (max-width: 760px) {
  .stock-product-photo { height: 67%; }
  .measure-art { width: 190px; height: 215px; }
  .tile-door-photo { width: 64%; }
  .product-visual { height: 300px; }
  .door-photo-wrap { min-height: 430px; }
  .veneer-door .door-photo-wrap { grid-row: 2; }
}

/* Final readability pass: product tiles, configurator and process graphics */
.tile-topline { justify-content: flex-end; }

.exterior-door > div:last-of-type,
.interior-door > div {
  width: 55%;
  z-index: 3;
}
.door-half h2 {
  color: #fff;
  font-size: clamp(19px, 1.38vw, 24px);
  line-height: .98;
  text-shadow: 0 2px 16px rgba(2, 20, 59, .4);
}
.door-half .tile-kicker,
.door-half small {
  color: #fff;
  opacity: .96;
  text-shadow: 0 1px 10px rgba(2, 20, 59, .42);
}
.exterior-door::after {
  background: linear-gradient(90deg, rgba(3, 36, 91, .99) 0%, rgba(3, 36, 91, .96) 49%, rgba(3, 36, 91, .58) 68%, transparent 88%);
}
.interior-door::after {
  background: linear-gradient(90deg, rgba(0, 103, 154, .99) 0%, rgba(0, 103, 154, .95) 50%, rgba(0, 103, 154, .57) 70%, transparent 89%);
}

.config-dimensions {
  grid-template-columns: minmax(148px, 1fr) 24px minmax(148px, 1fr);
}
.config-dimensions input {
  appearance: textfield;
  -moz-appearance: textfield;
  padding: 0 43px 0 14px;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink);
  opacity: 1;
  font-size: 19px;
  font-weight: 900;
  line-height: 52px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.config-dimensions input::-webkit-outer-spin-button,
.config-dimensions input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.config-dimensions label span {
  right: 13px;
  top: 19px;
  z-index: 2;
  pointer-events: none;
  color: #536781;
  font-size: 10px;
  font-weight: 800;
}

.process-grid li {
  min-height: 0;
  padding: 0 24px 28px;
  overflow: hidden;
  background: #fff;
}
.process-art {
  height: 176px;
  margin: 0 -24px 23px;
  overflow: hidden;
  background: #e7f3f9;
}
.process-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}
.process-grid li:hover .process-art img { transform: scale(1.035); }
.process-grid h3 { margin: 0 0 12px; }

@media (max-width: 1100px) {
  .hero-tiles { height: auto; }
}

@media (max-width: 760px) {
  .exterior-door > div:last-of-type,
  .interior-door > div { width: 60%; left: 22px; }
  .door-half h2 { font-size: 20px; }
  .config-dimensions { grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); gap: 6px; }
  .config-dimensions input { padding-inline: 12px 38px; font-size: 17px; }
  .process-grid li { min-height: 0; }
  .process-art { height: 230px; }
  .process-grid h3 { margin-top: 0; }
}

/* WordPress integration */
html { scroll-padding-top: 92px; }
body.admin-bar .site-header { top: 32px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; z-index: 100000; top: 10px; left: 10px; width: auto; height: auto; padding: 12px 16px; clip: auto; background: #fff; color: #041f57; }
.hero-tile .tile-title,
.door-half .tile-title {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.hero-tile .tile-title { margin: 0 0 18px; font-size: clamp(24px, 2vw, 34px); line-height: .95; }
.door-half .tile-title { margin-bottom: 6px; color: #fff; font-size: clamp(19px, 1.38vw, 24px); line-height: .98; text-shadow: 0 2px 16px rgba(2,20,59,.4); }
.tile-title em { color: var(--orange); font-style: normal; }
.exterior-door .tile-title em { color: #fff; }
.hero-tile .tile-content > .tile-kicker,
.door-half > span > .tile-kicker { display: block; }
.exterior-door > span:not(.arrow),
.interior-door > span:not(.arrow) { position: absolute; left: 26px; width: 55%; z-index: 3; }
.exterior-door > span:not(.arrow) { bottom: 23px; }
.interior-door > span:not(.arrow) { top: 32px; }
.door-half > span,
.door-half > .arrow { z-index: 3; }
.jp-plugin-required { max-width: 1360px; margin: 0 auto; padding: 28px; border: 1px solid currentColor; }
.jp-plugin-required.light { color: #fff; }
.product-card[hidden] { display: none !important; }
.search-status { display: flex; align-items: center; }
.contact-form [hidden], .form-success[hidden] { display: none !important; }

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 760px) {
  .exterior-door > span:not(.arrow),
  .interior-door > span:not(.arrow) { width: 60%; left: 22px; }
  .door-half .tile-title { font-size: 20px; }
}
