/* Customer stories, project facts and genuine acceptance photographs. */
.nhstar-project-detail { background: #f3f6f8; color: #011627; border-bottom: 1px solid #e5e7eb; }
.nhstar-project-container { max-width: 1280px; margin-inline: auto; padding-inline: 32px; }
.nhstar-project-header, .nhstar-project-story, .nhstar-project-facts { padding: 32px; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; box-shadow: 0 1px 3px #01162708; }
.nhstar-project-header { margin-bottom: 24px; }
.nhstar-project-header h1 { margin: 0; font-family: Montserrat, Manrope, sans-serif; font-size: clamp(26px, 3vw, 38px); line-height: 1.3; font-weight: 900; color: #011627; overflow-wrap: anywhere; }
.nhstar-project-header > p { margin-top: 16px; color: #475569; font-size: 16px; line-height: 1.8; }
.nhstar-project-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.nhstar-project-badges span { display: inline-block; padding: 6px 10px; border: 1px solid #d8a13a55; border-radius: 6px; background: #fcf6e9; color: #80580f; font-size: 11px; font-weight: 700; line-height: 1.5; }
.nhstar-project-badges .nhstar-project-badge-large { background: #011627; border-color: #011627; color: #fff; }
.nhstar-project-image-default { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; width: 100%; min-height: 200px; height: 100%; padding: 24px; background: #eef2f5; color: #64748b; text-align: center; font-size: 14px; line-height: 1.6; }
.nhstar-project-image-brand { color: #011627; font-family: Montserrat, Manrope, sans-serif; font-size: 24px; font-weight: 900; letter-spacing: .08em; }
.nhstar-project-image-default svg { color: #9a6b16; }
.nhstar-project-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--nhstar-sidebar-width); gap: 32px; align-items: start; }
.nhstar-project-main { min-width: 0; display: grid; gap: 24px; }
.nhstar-project-story { font-size: 16px; line-height: 1.9; color: #475569; overflow-wrap: anywhere; }
.nhstar-project-story :is(h2,h3), .nhstar-project-gallery > h2, .nhstar-project-sidebar h2 { color: #011627; font-family: Montserrat, Manrope, sans-serif; font-weight: 800; line-height: 1.4; }
.nhstar-project-story h2 { margin: 32px 0 16px; font-size: 24px; }
.nhstar-project-story h3 { margin: 24px 0 12px; font-size: 20px; }
.nhstar-project-story p { margin-bottom: 18px; }
.nhstar-project-story > :first-child { margin-top: 0; }
.nhstar-project-story > :last-child { margin-bottom: 0; }
.nhstar-project-story :is(ul,ol) { padding-left: 24px; margin-bottom: 18px; }
.nhstar-project-story ul { list-style: disc; }
.nhstar-project-story ol { list-style: decimal; }
.nhstar-project-story img { max-width: 100%; height: auto; border-radius: 12px; }
.nhstar-project-story :is(table,pre) { display: block; max-width: 100%; overflow-x: auto; }
.nhstar-project-story a { color: #80580f; text-decoration: underline; }
.nhstar-project-sidebar { display: grid; gap: 24px; position: sticky; top: 80px; }
.nhstar-project-facts { padding: 24px; }
.nhstar-project-sidebar h2 { font-size: 19px; margin-bottom: 16px; }
.nhstar-project-facts dl > div { padding-block: 12px; border-top: 1px solid #e5e7eb; }
.nhstar-project-facts dt { font-size: 12px; color: #475569; margin-bottom: 5px; }
.nhstar-project-facts dd { font-size: 14px; line-height: 1.7; font-weight: 600; color: #011627; overflow-wrap: anywhere; }
.nhstar-project-consultation { padding: 24px; border-radius: 16px; background: #011627; color: #fff; }
.nhstar-project-consultation h2 { color: #fff; }
.nhstar-project-consultation p { font-size: 14px; line-height: 1.8; color: #cbd5e1; margin-bottom: 20px; }
.nhstar-project-consultation :is(a,button) { width: 100%; min-height: 44px; white-space: normal; overflow-wrap: anywhere; text-align: center; }
.nhstar-project-consultation a { margin-top: 12px; }
.nhstar-project-gallery { margin-top: 40px; }
.nhstar-project-gallery > h2 { font-size: 24px; margin-bottom: 24px; }
.nhstar-project-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nhstar-project-photo-tile { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 192px; margin: 0; overflow: hidden; border-radius: 8px; background: #071522; }
.nhstar-project-photo-tile > a { position: absolute; inset: 0; display: block; }
.nhstar-project-photo-tile img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: transform .3s; }
.nhstar-project-photo-tile::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, #071522e6, transparent 75%), #01162733; transition: background-color .3s; }
.nhstar-project-photo-tile:hover img { transform: scale(1.05); }
.nhstar-project-photo-tile:hover::after { background-color: #01162766; }
.nhstar-project-photo-tile figcaption { position: absolute; z-index: 1; inset: auto 0 0; padding: 32px 16px 16px; color: #fff; font-family: Montserrat, Manrope, sans-serif; font-size: 12px; font-weight: 900; line-height: 1.5; text-transform: uppercase; text-align: left; overflow-wrap: anywhere; pointer-events: none; }
.nhstar-project-photo-tile:focus-within { outline: 2px solid #9a6b16; outline-offset: 3px; }
.nhstar-project-photo-tile-empty > svg { color: #d8a13a; opacity: .5; }
.nhstar-project-detail :is(a,button):focus-visible { outline: 2px solid #9a6b16; outline-offset: 3px; }
.nhstar-project-detail .nhstar-project-consultation :is(a,button):focus-visible { outline-color: #d8a13a; }
.nhstar-catalog-project-summary { margin-block: 12px 16px; font-size: 14px; line-height: 1.8; color: #475569; }
.nhstar-catalog-media .nhstar-project-image-default { min-height: 0; gap: 10px; }
.nhstar-catalog-media .nhstar-project-image-brand { font-size: 20px; }
@media (max-width: 1023px) {
    .nhstar-project-container { padding-inline: 24px; }
    .nhstar-project-layout { grid-template-columns: minmax(0, 1fr); }
    .nhstar-project-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
    .nhstar-project-container { padding-inline: 16px; }
    .nhstar-project-header, .nhstar-project-story { padding: 20px; }
    .nhstar-project-sidebar { grid-template-columns: minmax(0, 1fr); }
    .nhstar-project-layout { gap: 24px; }
    .nhstar-project-story h2, .nhstar-project-gallery > h2 { font-size: 21px; }
    .nhstar-project-image-default { font-size: 13px; gap: 12px; min-height: 160px; }
}
@media (min-width: 1024px) and (max-height: 850px) {
    .nhstar-project-sidebar { position: static; }
}
@media (max-width: 767px) {
    .nhstar-project-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nhstar-project-photo-tile { min-height: 144px; }
    .nhstar-project-photo-tile figcaption { padding: 28px 12px 12px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
    .nhstar-project-photo-tile { min-height: 176px; }
}
@media (prefers-reduced-motion: reduce) {
    .nhstar-project-photo-tile img, .nhstar-project-photo-tile::after { transition: none; }
    .nhstar-project-photo-tile:hover img { transform: none; }
}
