.molding-hero{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;padding:28px 0 52px}.molding-hero h1{margin-bottom:25px}.molding-lead{font-size:1.125rem;color:var(--muted);max-width:530px}.molding-hero .inline-actions{gap:20px}.molding-location{font-size:.875rem;margin-top:24px;color:var(--muted)}.molding-hero figure img{width:100%;height:440px;object-fit:cover}.molding-hero figcaption{font-size:.8125rem;padding-top:12px;color:var(--muted)}.molding-options{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:30px 0 38px;border-top:1px solid var(--border)}.molding-options>div{border-left:3px solid var(--yellow);padding-left:20px}.molding-options h2{font-size:1.375rem;letter-spacing:-.02em;margin-bottom:12px}.molding-options p{color:var(--muted);max-width:490px}.molding-catalog{background:white;border-top:1px solid var(--border)}.molding-catalog .section-heading{margin-bottom:22px}.catalog-intro{max-width:780px;color:var(--muted)}.catalog-tools{display:grid;grid-template-columns:1.3fr 1fr auto;gap:20px;align-items:end;margin:30px 0 18px;background:var(--ground);padding:22px}.catalog-tools label{display:block;font-weight:600;font-size:.875rem;margin-bottom:8px}.catalog-tools input,.catalog-tools select{width:100%;min-width:0;min-height:50px;background:white;border:1px solid #aaa69d;border-radius:0;padding:10px 12px;font-size:1rem}.catalog-tools>div{min-width:0}.catalog-reset{border:0;background:none;text-decoration:underline;text-underline-offset:5px;min-height:50px;padding:10px 0}.catalog-count{font-size:.875rem;color:var(--muted);margin:20px 0}.catalog-notice{padding:18px;background:var(--ground);margin-bottom:20px}.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.profile-card{border:1px solid var(--border);min-width:0;display:flex;flex-direction:column;background:var(--ground)}.profile-art{display:block;background:#fbf8f7;padding:14px;position:relative}.profile-art img{width:100%;height:210px;object-fit:contain}.profile-art>span{display:block;text-align:center;padding-top:12px;font-size:.75rem;text-decoration:underline;text-underline-offset:4px}.profile-art:hover>span{text-decoration-color:#a48100}.profile-info{border-top:1px solid var(--border);padding:18px;display:flex;flex-direction:column;flex:1}.profile-family{font-size:.6875rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:8px}.profile-info h3{font-size:1.35rem;overflow-wrap:anywhere}.profile-items{font-size:.8125rem;color:var(--muted);line-height:1.6;margin-top:12px;overflow-wrap:anywhere}.profile-actions{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding-top:16px;margin-top:auto}.profile-actions .text-link{font-size:.8125rem}.profile-actions>a:last-child{font-size:.75rem;min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:4px}.catalog-more{display:flex;justify-content:center;margin-top:32px}.catalog-more .button{min-width:240px}.catalog-empty{padding:40px;background:var(--ground);border-left:3px solid var(--yellow)}.catalog-empty p{margin-top:15px}.catalog-empty a{text-decoration:underline}.lookup-tables{border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-top:40px;padding:12px 0}.lookup-tables summary{font-weight:600;cursor:pointer;padding:12px 0;min-height:48px}.lookup-tables p{margin:12px 0;color:var(--muted)}.lookup-links{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;margin:16px 0}.lookup-links a{font-size:.875rem}.custom-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:100px;align-items:center}.custom-grid h2{margin-bottom:26px}.custom-grid p{color:#dedbd2;max-width:550px}.custom-grid p strong{color:white}.custom-steps{padding:0;list-style:none;counter-reset:cut;display:grid;gap:18px;margin:30px 0}.custom-steps li{counter-increment:cut;padding-left:44px;position:relative;color:#dedbd2;font-size:.9375rem}.custom-steps li:before{content:counter(cut,decimal-leading-zero);position:absolute;left:0;color:var(--yellow);font-weight:600}.custom-steps strong{color:white}.custom-grid .inline-actions{gap:20px}.custom-grid .text-link{color:var(--yellow)}.cutting-video{max-width:340px;justify-self:center}.cutting-video video{display:block;background:#242422;width:100%;height:auto;max-height:570px}.cutting-video figcaption{font-size:.8125rem;color:#c5c1b9;padding-top:14px}.molding-photo-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:26px}.molding-photo-grid figure{grid-column:span 2;min-width:0}.molding-photo-grid figure:nth-child(-n+2){grid-column:span 3}.molding-photo-grid a{display:block;position:relative}.molding-photo-grid img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.molding-photo-grid a>span{position:absolute;bottom:10px;right:10px;background:white;padding:4px 12px}.molding-photo-grid figcaption{font-size:.8125rem;line-height:1.6;margin-top:12px;color:var(--muted)}.molding-gallery>.wrap>.text-link{margin-top:24px}.molding-faq{background:white}.molding-image-dialog{padding:0;border:0;max-width:1000px;width:calc(100% - 40px);max-height:calc(100dvh - 40px);background:var(--ground);color:var(--ink)}.molding-image-dialog::backdrop{background:#000b}.image-dialog-header{position:sticky;top:0;z-index:1;background:white;display:flex;justify-content:space-between;gap:20px;align-items:center;padding:16px 24px;border-bottom:1px solid var(--border)}.image-dialog-header h2{font-size:1.35rem;letter-spacing:-.02em;overflow-wrap:anywhere}.image-dialog-close{background:white;border:1px solid #999;padding:8px 14px;min-height:44px;flex-shrink:0}.molding-image-dialog>p{padding:16px 24px 0;font-size:.875rem;color:var(--muted)}.image-dialog-canvas{padding:20px;overflow:auto}.image-dialog-canvas img{width:100%;height:auto;max-height:none;object-fit:contain}.image-dialog-actions{padding:0 24px 24px;display:flex;flex-wrap:wrap;gap:20px;align-items:center}body.image-dialog-open{overflow:hidden}
@media(max-width:1000px){.molding-hero{gap:30px}.molding-hero figure img{height:370px}.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.custom-grid{gap:40px}.catalog-tools{grid-template-columns:1fr 1fr}.catalog-reset{justify-self:start;grid-column:1/-1;min-height:40px;padding:0}.profile-art img{height:240px}}
@media(max-width:700px){.molding-hero{grid-template-columns:1fr;gap:28px;padding-top:10px;padding-bottom:32px}.molding-hero figure img{height:auto;aspect-ratio:4/3}.molding-lead{font-size:1rem}.molding-options{grid-template-columns:1fr;gap:24px}.catalog-tools{grid-template-columns:1fr;padding:18px;gap:14px}.profile-art img{height:185px}.profile-info{padding:14px}.custom-grid{grid-template-columns:1fr;gap:35px}.cutting-video{width:min(100%,320px)}.molding-photo-grid{grid-template-columns:1fr 1fr;gap:20px}.molding-photo-grid figure,.molding-photo-grid figure:nth-child(-n+2){grid-column:auto}.molding-photo-grid figure:last-child{grid-column:1/-1}.lookup-links{grid-template-columns:1fr}.molding-image-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}.image-dialog-header{padding:12px;gap:10px}.image-dialog-header h2{font-size:1.125rem}.image-dialog-canvas{padding:10px}.image-dialog-actions{padding:0 15px 20px}.molding-image-dialog>p{padding:12px 15px 0}}
@media(max-width:480px){.profile-grid{grid-template-columns:1fr}.profile-art img{height:auto;max-height:310px;min-height:190px}.profile-info{padding:18px}.molding-photo-grid{grid-template-columns:1fr}.molding-photo-grid figure:last-child{grid-column:auto}.molding-catalog .section-heading{gap:12px}.molding-location{font-size:.8125rem}.catalog-empty{padding:24px}.custom-moldings .inline-actions{align-items:stretch;flex-direction:column}.molding-image-dialog .image-dialog-actions{flex-direction:column;align-items:stretch}}
@media print{.catalog-tools,.catalog-more,.molding-image-dialog,.cutting-video{display:none!important}.profile-card[hidden]{display:flex!important}.profile-grid{grid-template-columns:repeat(2,1fr)}.profile-card{break-inside:avoid}}
.profile-dimensions{font-size:.8125rem;line-height:1.6;margin-top:12px}.profile-dimensions+.profile-items{margin-top:8px}

.image-dialog-canvas img{width:auto;max-width:100%;margin:auto}

/* Keep enlarged text within the page without hiding content. */
.molding-hero>*,.custom-grid>*,body[data-page="moldings"] .compact-cta .wrap>div{min-width:0;max-width:100%}
.molding-hero h1,.custom-grid h2,body[data-page="moldings"] .compact-cta h2{overflow-wrap:anywhere}
@media(max-width:700px){body[data-page="moldings"] .mobile-contact{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-page="moldings"] .mobile-contact a{min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:center}body[data-page="moldings"] .mobile-contact span{white-space:normal}}
