/* Light, transparent Jess artwork on forest-green page furniture. */
.header { background:var(--ink); color:var(--paper); border-color:#738571; }
.header nav { background:var(--ink); }
.header nav>a:hover { color:#e3c39c; border-bottom-color:#e3c39c; background:transparent; }
.header :is(a,button):focus-visible,.footer a:focus-visible { outline-color:#e3c39c; }
.footer.wrap { width:100%; padding-inline:max(40px,calc((100% - 1160px)/2)); background:var(--ink); color:var(--paper); border-color:#738571; }
.footer .copyright { color:#dce2d8; }
.footer-email:hover { color:#e3c39c; }

/* The invitation's hand-cut silhouette, fitted to each action's label. */
:is(.primary-button,.secondary-button,.nav-contact,.scroll-guide,.work-set-link,.process-footer .text-link,.services-other) {
  --button-fill:var(--ink);
  --button-ink:var(--paper);
  position:relative;
  isolation:isolate;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  max-width:100%;
  min-height:44px;
  padding:11px 22px;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--button-ink);
  text-decoration:none;
  line-height:1.5;
}
:is(.primary-button,.secondary-button,.nav-contact,.scroll-guide,.work-set-link,.process-footer .text-link,.services-other)::before {
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:var(--button-fill);
  -webkit-mask:url('assets/brand/invitation-ribbon.svg') center/100% 100% no-repeat;
  mask:url('assets/brand/invitation-ribbon.svg') center/100% 100% no-repeat;
  transition:filter .2s;
}
.primary-button.primary-button { --button-fill:var(--rust); }
.header :is(.nav-contact,.secondary-button),.services-section :is(.section-next,.services-other) { --button-fill:var(--paper); --button-ink:var(--ink); }
.hero-actions .hero-work-link { --button-fill:#62714e; --button-ink:var(--paper); }
:is(.primary-button,.secondary-button,.nav-contact,.scroll-guide,.work-set-link,.process-footer .text-link,.services-other):hover {
  background:transparent;
  color:var(--button-ink);
  text-decoration:none;
}
:is(.primary-button,.secondary-button,.nav-contact,.scroll-guide,.work-set-link,.process-footer .text-link,.services-other):hover::before { filter:brightness(.9); }
.hero-actions { display:flex; flex-wrap:wrap; justify-content:center; width:auto; }
.hero-actions :is(.primary-button,.hero-work-link) { width:fit-content; flex:0 0 auto; border-radius:0; padding:11px 22px; }
.services-section .services-footer .services-other:hover { color:var(--button-ink); }
form .primary-button { width:fit-content; justify-self:start; }
.location-inquiry { display:inline-flex; flex-direction:row; width:fit-content; max-width:100%; min-height:44px; margin-inline:auto; padding:11px 22px; font-size:15px; font-weight:400; line-height:1.5; text-decoration:none; white-space:nowrap; }
.location-inquiry-band { text-align:center; }

/* Shape the backdrops only; slide and album artwork keeps its own edges. */
.work-set .work-grid .project:nth-child(n) .project-art { background:transparent; border-radius:0; isolation:isolate; }
.project-art::before { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; background:var(--project-backdrop); }
.project-art::before,.project-art .project-wash {
  -webkit-mask:url('assets/brand/project-backdrop.svg') center/100% 100% no-repeat;
  mask:url('assets/brand/project-backdrop.svg') center/100% 100% no-repeat;
}
.project-art .project-scene { background:transparent; }
.studio-art { --project-backdrop:#161d45; }
.eye-art,.pantry-art { --project-backdrop:#a6b9b2; }
.siemens-art { --project-backdrop:#dee4d8; }
.castrol-art { --project-backdrop:#ede1cf; }

@media(max-width:760px) {
  .header nav { border-color:#738571; box-shadow:0 12px 16px #152a2329; }
  .header nav>a:hover { background:#355145; }
  .header .nav-contact { padding-inline:16px; }
  .hero-actions :is(.primary-button,.hero-work-link) { padding-inline:17px; }
  .location-inquiry { font-size:14px; }
  .footer.wrap { padding-inline:18px; }
}
@media(forced-colors:active) {
  :is(.primary-button,.secondary-button,.nav-contact,.scroll-guide,.work-set-link,.process-footer .text-link,.services-other) { border:1px solid ButtonText; color:ButtonText; }
}
