/* The photographs lead the experience; details remain one click away. */
.hero-shade { background: linear-gradient(90deg,#0d1815ed 0%,#0d1815ad 43%,#0d18152b 100%),linear-gradient(0deg,#0d1815dd,transparent 55%); }
.hero-work-preview { position: absolute; right: max(56px,calc((100vw - 1320px) / 2)); top: 46%; width: 294px; transform: translateY(-35%); background: #f7f8f6f5; color: var(--ink); padding: 22px; border-top: 3px solid var(--gold); box-shadow: 0 18px 55px #0002; }
.hero-preview-label { display: block; color: var(--gold-dark); font-size: .75rem; letter-spacing: .12em; margin-bottom: 16px; }
.hero-preview-images { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 145px; margin-bottom: 20px; overflow: hidden; }
.hero-preview-images img { width: 100%; height: 145px; object-fit: cover; transition: transform .5s; }
.hero-work-preview:hover img { transform: scale(1.045); }
.hero-work-preview strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; letter-spacing: -.03em; line-height: 1.2; }
.hero-preview-link { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 19px; padding-top: 13px; font-size: .875rem; font-weight: 600; }
.hero-preview-link > span { font-size: 1.25rem; }
.hero-content h1 { max-width: 800px; }
.gallery-topline { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 0 0 22px; }
.gallery-topline > p { color: var(--muted); margin: 0; font-size: .9375rem; }
.gallery-view { display: flex; flex-shrink: 0; background: #eeeee7; padding: 4px; border: 1px solid #d9dbd1; }
.gallery-view button { min-height: 44px; min-width: 114px; padding: 9px 18px; border: 0; background: transparent; color: var(--muted); font-size: .875rem; cursor: pointer; }
.gallery-view button[aria-pressed="true"] { background: var(--ink); color: white; box-shadow: 0 2px 5px #0001; }
.gallery-view button:focus-visible { outline-offset: -3px; }
.project-toolbar { gap: 24px; }
.project-filters { gap: 7px 20px; }
.filter { min-height: 46px; }
.filter span { display: inline-block; vertical-align: baseline; font-size: .75rem; margin-left: 7px; font-weight: 400; }
.photo-wall { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px 22px; }
.photo-tile { display: block; min-width: 0; }
.photo-tile-image { position: relative; aspect-ratio: 4 / 5; background: #edf0eb; overflow: hidden; }
.photo-tile-image img { width: 100%; height: 100%; object-fit: contain; }
.photo-tile:hover .photo-open,.photo-tile:focus-visible .photo-open { border-color: var(--gold); }
.photo-open { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; display: grid; place-items: center; background: #f7f8f6ef; border: 1px solid #fff8; color: var(--ink); font-size: 1.25rem; transition: background .25s; }
.photo-tile:hover .photo-open,.photo-tile:focus-visible .photo-open { background: var(--gold); }
.photo-tile-caption { display: flex; justify-content: space-between; gap: 15px; padding-top: 12px; font-size: .875rem; line-height: 1.4; min-height: 52px; }
.photo-tile-caption > span:last-child { font-variant-numeric: tabular-nums; color: var(--gold-dark); font-size: .8125rem; padding-top: 2px; }
.photo-wall-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 26px; }
.photo-wall-footer p { font-size: .875rem; color: var(--muted); margin: 0; }
.photo-more { background: transparent; border-color: var(--ink); min-width: 230px; cursor: pointer; }
.photo-more:hover { background: #f1efe5; }
.service-work-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.service-work-links a { font-size: .875rem; line-height: 1.5; min-height: 44px; padding: 11px 13px; border: 1px solid #ffffff40; color: #e4e8e3; }
.service-work-links a:hover { border-color: var(--gold); color: var(--gold); }
.project-faq { background: #edece4; border-bottom: 1px solid #d6d7cc; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 90px; }
.faq-grid h2 { font-size: clamp(2.8rem,3.7vw,3.9rem); }
.faq-grid > div > p:last-child { color: var(--muted); max-width: 320px; }
.faq-list details { border-top: 1px solid #bfc3b5; }
.faq-list details:last-child { border-bottom: 1px solid #bfc3b5; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 1.0625rem; font-weight: 500; line-height: 1.5; }
.faq-list summary::-webkit-details-marker,.quote-preview summary::-webkit-details-marker { display: none; }
.faq-list summary::marker,.quote-preview summary::marker { content: ''; }
.faq-list summary > span { font-size: 1.5rem; color: var(--gold-dark); font-weight: 400; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list details > p { color: var(--muted); margin: 0; padding: 0 30px 25px 0; line-height: 1.8; }
.quote-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.button-outline { border-color: #9ca493; background: transparent; }
.button-outline:hover { background: #e0e1d5; }
.quote-preview { margin: 0 0 24px; border-top: 1px solid #bfc5b6; border-bottom: 1px solid #bfc5b6; }
.quote-preview summary { display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; min-height: 50px; font-size: .875rem; }
.quote-preview summary span { font-size: 1.25rem; }
.quote-preview[open] summary span { transform: rotate(45deg); }
.quote-preview p { white-space: pre-wrap; overflow-wrap: anywhere; padding: 14px; margin: 0 0 15px; background: #f8f9f3; color: var(--muted); font-size: .875rem; line-height: 1.7; }
.quote-panel .quote-intro { margin-bottom: 24px; }
.dialog-top { position: sticky; top: 0; background: var(--paper); z-index: 4; }
.dialog-top-actions { display: flex; gap: 10px; align-items: center; }
.dialog-top-actions > button { min-height: 44px; border: 1px solid #a9b5ac; padding: 9px 14px; color: var(--ink); font-size: .875rem; background: transparent; cursor: pointer; }
.dialog-top-actions > button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: white; }
.gallery-expanded { width: min(1400px,calc(100% - 32px)); }
.gallery-expanded .dialog-layout { grid-template-columns: minmax(0,1fr); gap: 0; }
.gallery-expanded .dialog-info { display: none; }
.gallery-expanded .dialog-gallery > img,.gallery-expanded .dialog-gallery > img.portrait-photo { width: 100%; height: 64dvh; object-fit: contain; }
.gallery-expanded .gallery-thumbs { max-width: 80%; }

.footer-registration { margin-top: 28px; padding-top: 25px; border-top: 1px solid #ffffff25; }
.footer-registration-heading { margin: 0 0 18px; color: var(--gold); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-registration-grid { display: grid; grid-template-columns: 1.2fr 1.65fr 1.1fr .8fr; gap: 24px; margin: 0; }
.footer-registration-grid > div { min-width: 0; }
.footer-registration-grid dt { color: #a6b5aa; font-size: .75rem; line-height: 1.6; margin-bottom: 7px; }
.footer-registration-grid dd { margin: 0; font-size: .8125rem; line-height: 1.7; overflow-wrap: anywhere; }

@media (min-width: 1151px) {
  .hero h1 { font-size: clamp(5.4rem,6.65vw,7.1rem); }
  .hero-content { padding-bottom: 110px; }
}
@media (max-width: 1150px) {
  .hero-work-preview { display: none; }
  .photo-wall { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px 20px; }
  .faq-grid { gap: 50px; }
  .quote-actions { grid-template-columns: 1fr; }
}
@media (max-width: 950px) {
  .footer-registration-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-topline { align-items: flex-start; }
  .gallery-topline > p { max-width: 270px; }
  .project-toolbar { flex-direction: column; gap: 16px; }
  #project-count { display: block; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-grid > div > p:last-child { max-width: none; margin-bottom: 0; }
}
@media (max-width: 700px) {
  .footer-registration-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-topline { flex-direction: column; gap: 16px; }
  .gallery-topline > p { max-width: none; }
  .gallery-view { width: 100%; }
  .gallery-view button { flex: 1; min-width: 0; }
  .project-toolbar { margin-bottom: 24px; padding-bottom: 18px; }
  .project-filters { gap: 8px 19px; padding-top: 3px; }
  .filter { font-size: .9375rem; }
  #project-count { font-size: .8125rem; }
  .photo-wall { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 13px; }
  .photo-tile-caption { font-size: .8125rem; gap: 8px; padding-top: 10px; min-height: 46px; }
  .photo-open { width: 30px; height: 30px; right: 8px; bottom: 8px; font-size: 1.1rem; }
  .photo-wall-footer { flex-direction: column; gap: 14px; margin-top: 22px; padding-top: 22px; }
  .photo-more { width: 100%; }
  .faq-list summary { font-size: 1rem; padding: 22px 0; }
  .faq-list details > p { font-size: .9375rem; padding-right: 0; }
  .faq-grid h2 { font-size: 2.8rem; }
  .quote-actions { grid-template-columns: 1fr; }
  .mobile-contact { display: flex; gap: 0; padding: 0; background: var(--ink); border-color: #4c534b; color: white; }
  .mobile-contact > a { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; flex: 1; padding: 12px; font-size: .9375rem; }
  .mobile-contact > a:last-child { background: var(--gold); color: var(--ink); flex: 1.45; }
  .mobile-contact > a:focus-visible { outline-offset: -4px; }
  .dialog-top { padding: 12px 14px; gap: 10px; }
  .dialog-top > span { font-size: .75rem; letter-spacing: .04em; max-width: 100px; }
  .dialog-top-actions { gap: 7px; }
  .dialog-top-actions > button { padding: 8px 10px; font-size: .8125rem; }
  .gallery-expanded { width: calc(100% - 20px); }
  .gallery-expanded .dialog-gallery > img,.gallery-expanded .dialog-gallery > img.portrait-photo { height: 70dvh; }
  .gallery-expanded .gallery-thumbs { max-width: 100%; }
}
