/* ROISE: editorial spacing and project presentation. */
:root { --detail-toolbar-height: 76px; }
::selection { background: #d8bb82; color: #171611; }
.header nav { gap: clamp(18px,2.6vw,38px); }
.header nav a { position: relative; }
.project-image { isolation: isolate; }
.project-image > img:first-child { transition: transform .65s cubic-bezier(.2,.65,.3,1); }
@media(hover:hover) {
  .project-image:hover > img:first-child { transform: scale(1.035); }
  .gallery-tile:hover { outline: 1px solid var(--gold); outline-offset: 4px; }
}
.project-copy h3 { font-size: clamp(30px,3vw,42px); }
.project-summary { max-width: 37ch; line-height: 1.8; }
.approach-grid > div { padding-top: 24px; }
.approach-grid .step-number { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid #b8a98d; border-radius: 50%; }
.workflow { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding-block: 90px 110px; border-top: 1px solid var(--line); }
.workflow-heading h2 { margin-top: 20px; font-size: clamp(36px,4vw,56px); }
.workflow-heading em { color: var(--gold); }
.workflow-steps { list-style: none; padding: 0; margin: 0; }
.workflow-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.workflow-steps li > span { font-size: 11px; letter-spacing: 1px; color: var(--gold); padding-top: 3px; }
.workflow-steps h3 { font-size: 26px; margin-bottom: 8px; }
.workflow-steps p { font-size: 14px; max-width: 45ch; }
.contact .contact-guide { max-width: 62ch; margin-bottom: 30px; font-size: 14px; line-height: 1.8; }
.detail-sections { position: sticky; top: var(--detail-toolbar-height); z-index: 4; display: flex; align-items: center; gap: 28px; padding: 9px 6%; background: #f5f2ebf5; border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.detail-sections button, .detail-sections a { font-size: 12px; white-space: nowrap; padding: 8px 0; min-height: 44px; display: inline-flex; gap: 8px; align-items: center; }
.detail-sections button:hover, .detail-sections a:hover { color: var(--gold); }
.detail-sections small { color: var(--gold); font-size: 10px; }
.detail-sections a { margin-left: auto; color: var(--gold); }
#detail-overview, #detail-gallery, #detail-plan { scroll-margin-top: calc(var(--detail-toolbar-height) + 84px); }
.facts { padding: 22px 26px; background: #eae5db; border-left: 2px solid #b49a69; }
.facts > div { padding-block: 12px; }
.gallery-tile { position: relative; }
.gallery-tile:after { content: '↗'; position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; display: grid; place-items: center; color: #f6f1e7; background: #10100fbf; font-size: 19px; pointer-events: none; }
.project-enquiry { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px; background: #eae5db; border-top: 1px solid #b8a98d; }
.project-enquiry h3 { margin: 14px 0 12px; font-size: clamp(27px,3vw,37px); }
.project-enquiry p:not(.eyebrow) { font-size: 14px; max-width: 48ch; }
.project-enquiry .button { flex-shrink: 0; }
@media(max-width:760px), (pointer:coarse) and (max-width:1100px) {
  :root { --detail-toolbar-height: 68px; }
  .workflow { grid-template-columns: 1fr; gap: 30px; padding-block: 60px; }
  .workflow-steps li { padding-block: 20px; }
  .detail-sections { padding: 6px 5%; gap: 20px; overflow-x: auto; scrollbar-width: none; }
  .detail-sections::-webkit-scrollbar { display: none; }
  .detail-sections button, .detail-sections a { font-size: 11px; }
  .detail-sections a { padding-left: 10px; }
  .project-enquiry { padding: 25px; flex-direction: column; align-items: stretch; }
  .project-enquiry .button { margin-top: 3px; }
  .facts { margin-inline: 0; padding: 16px 22px; }
  .phone-gallery-head { border-bottom: 1px solid #d8bb8220; }
  .phone-project-body { max-width: 560px; }
  .phone-project-description { max-width: 36ch; }
  .phone-mode .projects, .phone-mode .about { padding-block: 65px; }
  .phone-mode .approach { padding-block: 60px; }
  .phone-dock a { border-radius: 10px; }
  .phone-dock [aria-current="location"] { background: #d8bb8212; }
}
@media(prefers-reduced-motion:reduce) { .project-image > img:first-child { transition: none; } }
