.detail-page {
    padding-bottom:clamp(36px,5vw,76px);
    color:var(--ink);
}
.detail-wrap { width:94.4%; max-width:1480px; margin-inline:auto; }
.detail-page .crumb { padding-block:20px; margin-block:0; flex-wrap:wrap; font-size:14px; }
.detail-page .crumb a:hover,.text-action:hover,.furniture-actions a:hover { text-decoration:underline; text-underline-offset:4px; }
.installation {
    display:grid;
    grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
    border:1px solid #dce3d9;
    padding:6px;
    border-radius:18px;
    background:#f5f5ee;
}
.installation.text-only { grid-template-columns:1fr; }
.installation-copy { align-self:center; padding:clamp(22px,3.8vw,64px); }
.project-type { display:inline-block; color:var(--leaf); font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.project-type:hover { text-decoration:underline; }
.installation h1 {
    color:var(--pine);
    font-size:clamp(34px,3.9vw,64px);
    line-height:1.04;
    letter-spacing:-.048em;
    font-weight:680;
    text-wrap:balance;
    overflow-wrap:anywhere;
    margin:14px 0;
}
.overview { max-width:54ch; font-size:clamp(15px,1.15vw,19px); line-height:1.55; color:#46534a; }
.installation-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(145px,max-content)); gap:10px 12px; margin:22px 0; padding-top:18px; border-top:1px solid #d5ded2; }
.installation-facts > div { padding:10px 15px; border:1px solid #d6e0d3; border-radius:12px; background:rgba(255,255,255,.78); box-shadow:0 2px 6px rgba(18,59,40,.04); }
.installation-facts dt { font-size:11.5px; color:#506758; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
.model { font-size:13px; color:#546459; }
.installation-facts dd { font-size:15.5px; font-weight:700; color:#153624; margin-top:3px; line-height:1.3; }
.installation-facts .fact-address { grid-column:1 / -1; padding:13px 16px; border:1px solid #cad8c6; border-left:3.5px solid #285837; border-radius:12px; background:linear-gradient(135deg,#ffffff 0%,#f7faf5 100%); box-shadow:0 4px 14px rgba(18,59,40,.055); }
.installation-facts .fact-address dt { display:inline-flex; align-items:center; gap:8px; color:#235737; font-size:11px; font-weight:750; letter-spacing:.1em; }
.installation-facts .fact-address dt .icon { width:24px; height:24px; padding:5px; border-radius:8px; background:#e7f2e4; color:#1b5435; flex:0 0 auto; }
.installation-facts .fact-address dd { margin-top:6px; font-weight:600; }
.installation-facts .fact-address address { font-style:normal; font-size:14.5px; font-weight:600; color:#183524; line-height:1.5; text-wrap:pretty; overflow-wrap:break-word; }
.detail-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px 20px; }
.detail-actions .quote { display:inline-flex; flex:none; margin:0; padding:11px 19px; font-size:14px; min-height:44px; }
.text-action,.furniture-actions a { color:var(--leaf); font-size:14px; font-weight:650; }
.installation-photo { position:relative; min-width:0; min-height:330px; overflow:hidden; border-radius:12px; background:#e8e9e2; }
.hero-photo-link,.hero-photo-link img { display:block; width:100%; height:100%; }
.hero-photo-link { position:absolute; inset:0; }
.hero-photo-link img,.furniture-photo img { object-fit:cover; }
.installation-photo figcaption {
    position:absolute; inset:auto 0 0;
    display:flex; justify-content:space-between; align-items:end; gap:12px;
    padding:46px clamp(14px,2vw,28px) 18px;
    background:linear-gradient(transparent,#10251be8);
    color:white; pointer-events:none;
}
.installation-photo figcaption strong { font-weight:600; font-size:clamp(15px,1.2vw,19px); text-wrap:pretty; }
[data-gallery-controls] { display:flex; align-items:center; gap:7px; flex:none; pointer-events:auto; }
[data-gallery-controls] button { width:40px; height:40px; border-radius:50%; border:1px solid #ffffff80; color:white; background:#203c2de8; }
[data-gallery-controls] button:hover { background:#355a40; }
#image-count { font-size:13px; font-variant-numeric:tabular-nums; }
.detail-heading { display:flex; align-items:center; gap:20px; margin:clamp(30px,3.7vw,58px) 0 20px; }
.detail-heading h2 { color:var(--pine); font-size:clamp(25px,2.2vw,37px); letter-spacing:-.036em; line-height:1.15; font-weight:650; }
.detail-heading span { flex:1; height:1px; background:var(--line); }
.installation-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(16px,2vw,32px); }
.furniture-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid #d8e1d7; border-radius:15px; background:white; box-shadow:0 2px 10px #1835240c; }
.furniture-photo { display:block; margin:5px 5px 0; border-radius:10px; overflow:hidden; background:#eee; }
.furniture-photo img { display:block; width:100%; aspect-ratio:1.95; height:auto; }
.furniture-copy { padding:clamp(16px,1.6vw,24px); overflow-wrap:anywhere; }
.furniture-copy h3 { color:var(--pine); font-size:clamp(19px,1.55vw,25px); line-height:1.22; letter-spacing:-.025em; font-weight:650; }
.furniture-copy h3,.model,.workstation-track a { text-align:center; }
.model { margin-top:5px; }
.model strong { font-weight:600; color:#34473b; }
.specs { margin-top:18px; font-size:14px; }
.specs div { display:grid; grid-template-columns:minmax(80px,.65fr) minmax(0,1.35fr); gap:14px; padding:9px 0; border-top:1px solid var(--line); }
.specs dt { color:#536257; }
.specs dd { font-weight:550; }
.related-links,.project-tags { display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
.furniture-copy .related-links { margin-top:14px; }
.related-links a,.project-tags a { display:inline-flex; align-items:center; padding:6px 12px; border:1px solid #dae3d7; border-radius:20px; background:#f6f8f4; color:#34543e; font-size:13px; }
.related-links a:hover,.project-tags a:hover { background:#e8efe4; }
.project-tags { margin-top:24px; }
.project-tags strong { margin-right:6px; color:var(--pine); font-size:14px; }
.furniture-actions { margin-top:auto; padding:8px clamp(12px,1.5vw,22px); background:#f8faf7; border-top:1px solid var(--line); display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 10px; }
.furniture-actions.project-contact { margin-top:auto; }
.furniture-actions a { display:inline-flex; align-items:center; gap:6px; min-height:44px; }
.workstation-track { display:flex; gap:12px; overflow:auto; padding-bottom:10px; scroll-snap-type:x proximity; }
.workstation-track a { flex:0 0 170px; scroll-snap-align:start; border:1px solid var(--line); border-radius:12px; padding:12px; color:var(--pine); font-size:14px; font-weight:600; }
.workstation-track a:hover { border-color:#a4b5a3; }
.workstation-track img { width:100%; height:125px; object-fit:contain; margin-bottom:10px; }
@media(max-width:800px) {
    .installation { grid-template-columns:1fr; }
    .installation-copy { padding:22px; }
    .installation-photo { min-height:0; aspect-ratio:1.85; }
}
@media(max-width:640px) {
    .detail-wrap { width:calc(100% - 28px); }
    .installation-grid { grid-template-columns:1fr; }
    .detail-page .crumb { padding-block:14px; font-size:13px; }
    .installation-copy { padding:20px 12px 22px; }
    .installation-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:16px 0; padding-top:14px; }
    .installation-facts > div { padding:9px 12px; border-radius:10px; }
    .installation-facts .fact-address { padding:11px 13px; }
    .installation-facts .fact-address address { font-size:13.5px; }
    .installation-photo { aspect-ratio:1.42; }
    .installation-photo figcaption { align-items:center; padding:32px 10px 10px; }
    [data-gallery-controls] { gap:4px; }
    [data-gallery-controls] button { width:38px; height:40px; }
    .furniture-photo img { aspect-ratio:1.55; }
}
